Originally posted by mirror
View Post
how to validate users by sending activation link in email ,
Collapse
X
-
Also this same problem in my uloki script, activation emails are n0t sent to users. Plz haz ani1 correct hiz own shuld kindly help me. Tanx
Also this same problem in my uloki script, activation emails are n0t sent to users. Plz haz ani1 correct hiz own shuld kindly show me the way out. Tanx
Leave a comment:
-
change
withCode:if (mail($email,Validation link from, $body))
Code:if(mail($email,"Validation link from", $body))
Leave a comment:
-
uhmmm its not working , something wrong here in this lineOriginally posted by Loony View Postman i done this on my iphone so if it doesnt work just read the error and check that line there might be some errors but it all should work.
Added after 2 minutes:
also ur lucky i agreed be4 i saw what script is was if i knew it was lavalair i wouldnt have done it i have never made updates for lava and never will again seeing those files bought back my feelings towards that script.
if (mail($email,Validation link from, $body))
mail is not sent and the code also not generated or inserted and i m not able to login from my pc any id dnt know why .
Leave a comment:
-
man i done this on my iphone so if it doesnt work just read the error and check that line there might be some errors but it all should work.
Added after 2 minutes:
also ur lucky i agreed be4 i saw what script is was if i knew it was lavalair i wouldnt have done it i have never made updates for lava and never will again seeing those files bought back my feelings towards that script.Attached FilesLast edited by Loony; 18.01.11, 10:51.
Leave a comment:
-
Originally posted by Loony View Postmate export your users table and upload ur register and login pages ill do it for you.
okay bro here is what u asked for , it would be a great favourAttached Files
Leave a comment:
-
mate add this in your registration form..
$random_number = rand(5000000,9000000000);
$rform .= "$vld <input type=\"hidden\" name=\"vld\" format=\"*x\" value=\"$random_number\" maxlength=\"30\"/>";
Leave a comment:
-
mate export your users table and upload ur register and login pages ill do it for you.
Leave a comment:
-
hey i m not able to get thing working bro , i created this activate.php , i hve tables named CODE and ACTIVE in users , email r sent to users also but even without clicking the link they r able to enter pls help in this , i m enclosing my old registraton n new which i modified , and activate.php also , , i hve been trying for months
Leave a comment:
-
Ok, so simple steps.
Create two columns in the user table.
One named "code" and the other, "verified"
Code should not be null and verified should default to a negative response. "0" or "no" whichever you prefer.
When the user registers, create the hash unique to that user, eg. Md5($un."suitably long salt")
Send this code to user in email.
Now. Your verify page should take the input, sanitise it then make a query for that hash. You can take the username also and compare the hash and username(extra security). Make sure it is not already verified the update table, and echo a success msg.
Goodluck.
Teach a man to fish.....
Leave a comment:
-
just in my initial stages of coding bro so a little asking for help , i will try again
Leave a comment:
-
Dude. You need to as whiteboy said, create a new column iin ur users table. Set default to no or 0 or wateva.
When users register, send them a link with. Hash of their user details. Choose carefully as using just username, they can detect and end up spamming ur site.
So say , username email and a salt all hashed.
When the user enters the code in you verification page. Use get so. You can send an url to them.
Here's the tricky part, you can either store the hash in a column and just query it or a more inefficient way is just to fetch all rows and compare the hash of their details with the. Submitted hash.
You can choose to do it as you wish but basically, that is it.
Unless, as I can infer from your second post you can't code. Then you need to get someone to do it for you.
I accept liberty reserve btw.
Leave a comment:
-
hehe nice reply u give friend i better just read the forums instead of posting here , anyway thnks i got the idea from ur posting , i wont forget to thank u
Leave a comment:
Leave a comment: