SA-MP Forums Archive
Stuff i should check for to make sure its a valid email? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Stuff i should check for to make sure its a valid email? (/showthread.php?tid=153437)



Stuff i should check for to make sure its a valid email? - NewTorran - 08.06.2010

Hello,

Im converting my registration script into MySQL,
And im adding a email bit, What would i check for to make sure he/she has put in a valid email address?


Re: Stuff i should check for to make sure its a valid email? - Fj0rtizFredde - 08.06.2010

This may help you http://forum.sa-mp.com/index.php?top...0792#msg810792


Re: Stuff i should check for to make sure its a valid email? - NewTorran - 08.06.2010

Quote:
Originally Posted by Fj0rtizFredde
Oh cool thanks


Re: Stuff i should check for to make sure its a valid email? - NewTorran - 09.06.2010

That works for stuff like:

joe

joe@

BUT

If i put

joe@joetorran

Instead of

joe@joetorran.net

it lets me put it in?


Re: Stuff i should check for to make sure its a valid email? - DJDhan - 09.06.2010

Well, if players want to send an email, it's their job to enter the email address correctly :P and they will


Re: Stuff i should check for to make sure its a valid email? - NewTorran - 09.06.2010

Quote:
Originally Posted by DJDhan
Well, if players want to send an email, it's their job to enter the email address correctly :P and they will
Its for registration