Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7008681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:45:59+00:00 2026-05-27T21:45:59+00:00

A user with a designated account logs into my page and they receive a

  • 0

A user with a designated account logs into my page and they receive a page with a nondisclosure agreement. They must type their full name in a field provided at the bottom. I don’t know how to see if the name is their name exactly. If it is their name they should be redirected to the inside of the site. If they enter anything other than their name they are logged out and their account is deleted (maybe just by changing their name in my database, which they use to login). here is some code that may be helpful in helping me.. thank you so much!

First and last name code:

<?php echo "$identity->first_name $identity->family_name"; ?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:45:59+00:00Added an answer on May 27, 2026 at 9:45 pm

    Well, I think that it is quite easy 🙂

    You should do something like this in your controller action:

    if ($this->getRequest()->isPost() {
       $post = $this->getRequest()->getPost();
       if ($post['first_name'] == $identity->first_name && $post['family_name'] == $identity->family_name) {
           /* Authentication ok */
       } else {
           /* Authentication failure */
       }
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I allow users to upload files to their own, user designated folder,
User first_name: Johnny age: 15 Car name: Mazda Car name: BMW I would like
I've a user account on a development SQL express on a remote server. This
I am making a mobile iOS app. A user can create an account, and
I want to track all user touches within a designated UIViewController subclass, e.g. MyViewController.
I am creating an application where the user logs in with her twitter/facebook/foursquare accounts
Problem I am trying to access developers.facebook.com with a user account , but I
Goal: Allow a user to authentication with Facebook into an iOS application which requires
I am designed a dynamic table for getting input from user. Each column of
I have loop designed to validate the user input on a question, it was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.