Hi. Attempting email address confirmation script. My attempt contains three files: (email_token_test.php)
require_once (gen_email_token.php)
require (PHPMailer-master/PHPMailerAutoload.php)
I am expecting the variable $token5 to contain a 5 character string and for that string to remain the same through the whole script. To the best of my limited knowledge I am only calling the token generation function 1 time, but doing several var_dumps on $token5 shows that $token5 is changing as the script progresses.
I know that a standard way of email address confirmation is with user registeration and database population, but in this instance user aren't signing in or registering. They will just be submitting email address for a quote request.
What am I doing wrong and how do I correct it?
I tried several times to post my code but was not able to.
I tried to attach the files with .php extension but was unable to.
I had no choice but to attach as .txt extension, Sorry
[ATTACH]5467[/ATTACH][ATTACH]5469[/ATTACH]