Jump to content
MakeWebGames

Recommended Posts

Posted

Hi i got an Email Validation but wen i register i get an email wid a code to press but it wont let me login it says failed

heres my code

this is in register.php

 

mysql_query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays,
user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, 
lastip, valid, confirmed) VALUES( '{$username}', '{$_POST['login']}', '{$_POST['password']}', 1, $sm, 
1, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$ip', 0, 0)",$c);
  • 3 months later...
Guest Anonymous
Posted

Re: Email Validation

 

not sure mate

well that wasint much help was it

Posted

Re: Email Validation

 

Hi i got an Email Validation but wen i register i get an email wid a code to press but it wont let me login it says failed

heres my code

this is in register.php

 

mysql_query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays,
user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, 
lastip, valid, confirmed) VALUES( '{$username}', '{$_POST['login']}', '{$_POST['password']}', 1, $sm, 
1, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$ip', 0, 0)",$c);

 

Probably something wrong with your email validation code? Seems like their is nothing wrong here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...