• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Noob needs help with email account verification

#1
[eluser]zulubanslee[/eluser]
Ok so I have user create account, create a random string, store it in the database and send the user this link:

http://example.com/login/verifyaccount/s...2829853473

User clicks on the link naturally, but when they do I get a 404 error.

Here is my controller
Code:
$string    = $this->uri->segment(3);            
$verification= preg_split('/-/', $string);
$username = $verification[0];
$security_string         = $verification[1];
$verification_array = array($username, $security_string);
$this->load->model('usersmodel');
$status = $this->usersmodel->verifyaccount($verification_array);
$data['status'] = $status;
$this->load->view('verifyaccountview', $data);


Messages In This Thread
Noob needs help with email account verification - by El Forum - 07-19-2011, 02:17 PM
Noob needs help with email account verification - by El Forum - 07-20-2011, 11:55 AM
Noob needs help with email account verification - by El Forum - 07-20-2011, 12:44 PM
Noob needs help with email account verification - by El Forum - 07-20-2011, 02:39 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 05:15 AM
Noob needs help with email account verification - by El Forum - 07-21-2011, 05:21 AM
Noob needs help with email account verification - by El Forum - 07-21-2011, 10:48 AM
Noob needs help with email account verification - by El Forum - 07-21-2011, 10:49 AM
Noob needs help with email account verification - by El Forum - 07-21-2011, 01:05 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 01:59 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 02:08 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 02:26 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 02:33 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 02:37 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 02:42 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 02:44 PM
Noob needs help with email account verification - by El Forum - 07-21-2011, 02:52 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.