Comment by Crimsonyte21 on February 8, 2012 at 6:28 am
the eregi() function has been deprecated…..I would recommend using the if (ctype_alnum($test))
Comment by Spartan7735 on February 8, 2012 at 6:51 am
For those trying to replace the eregi fucntion:
if(!preg_match(‘/[^a-z0-9]/i’,$test) )
Comment by dddaniel92 on February 8, 2012 at 7:51 am
Your knowledge level is over 9000!!!!
Comment by xbugster on February 8, 2012 at 8:21 am
@beatboxpeej if js so it is better way to became smarter and user AJAX with verification if email is not registered yet. also i noticed u’v used eregi -> FYI it is deprecated in PHP 5.x, also to completely prevent injection us PHP’s built-in PDO with statement prepare, so then prepare will escape passed variables.
have a great learning, guys.
Comment by tylerplack on February 8, 2012 at 9:05 am
Thank you so much
Comment by buffmin on February 8, 2012 at 9:44 am
Hey Bucky. Such awesome videos. Thanks!
In your video, you say that the source code from PHP tutorials 30,31 is on your website in the forum, but I don’t think it is. Is is possible to upload it? Thanks much, Buffmin
Comment by LukasTeeVee on February 8, 2012 at 10:39 am
don’t forget to watch this quality in high video xD
Comment by EMLyles on February 8, 2012 at 11:23 am
I concur, which infers the need for a update to the video.
Comment by ModTesterAndMore on February 8, 2012 at 11:28 am
@EMLyles Look at the date of the video, this website has changed dramatically
Comment by th2 on February 8, 2012 at 11:46 am
great vid
Comment by EMLyles on February 8, 2012 at 12:17 pm
He doesn’t post the script on his website, I think he just want subscriptions. There are other sites that share their scripts immediately.
Comment by HawxTeamDelta on February 8, 2012 at 12:23 pm
phew finally after some few practices i finally understand it.. i really prove to my self that you should test everytime you learned something in programming.. now for the next part
Comment by HawxTeamDelta on February 8, 2012 at 1:17 pm
hey can i use the ctype_alnum() function to test my value if its alphanumeric? is it the same as bucky used?
Comment by 6183134 on February 8, 2012 at 1:46 pm
Excelente!
Comment by Thebrand0nc on February 8, 2012 at 2:04 pm
ar there comming more tutorials of these ??
Comment by beatboxpeej on February 8, 2012 at 2:11 pm
@xbugster Of course real validation should be server side duh! lol. I meant things like : Is my email contains a @ and a dot after it etc.
Comment by trappingnoobs on February 8, 2012 at 2:59 pm
@ti07shadow Eregi is deprected.
Comment by trappingnoobs on February 8, 2012 at 3:47 pm
@beatboxpeej Fail on so many levels.
Comment by xbugster on February 8, 2012 at 4:39 pm
@beatboxpeej what are you talking about?! dont talk such sily things. real validation should be done and ONLY serverside. javascript is a client side and can be bypassed without any problem by a bit skilled user or even script kid.
Comment by beatboxpeej on February 8, 2012 at 5:05 pm
@xbugster And I must say that form validation should be made client side not server. So Javascript.
Comment by timtallisman on February 8, 2012 at 5:25 pm
@xbugster eregi() is deprecated anyway :p, you shouldn’t use eregi() at all.
Comment by xbugster on February 8, 2012 at 5:35 pm
again dont use eregi() -> preg_match()
also better to do it with ajax
Comment by Hadyy13 on February 8, 2012 at 5:44 pm
THAT’S THE BEST COMMENT I’VE EVER SEEN ON YOUTUBE!!!!!
“NICE TITS DUDE!”
But yeah, your tuts are awesome
About this blog
This blog is dedicated to showcasing great web design as well as providing advice and tips to any aspiring web designers out there. Hopefully these articles will aid you in your design and development.
23 comments
Comment by Crimsonyte21 on February 8, 2012 at 6:28 am
the eregi() function has been deprecated…..I would recommend using the if (ctype_alnum($test))
Comment by Spartan7735 on February 8, 2012 at 6:51 am
For those trying to replace the eregi fucntion:
if(!preg_match(‘/[^a-z0-9]/i’,$test) )
Comment by dddaniel92 on February 8, 2012 at 7:51 am
Your knowledge level is over 9000!!!!
Comment by xbugster on February 8, 2012 at 8:21 am
@beatboxpeej if js so it is better way to became smarter and user AJAX with verification if email is not registered yet. also i noticed u’v used eregi -> FYI it is deprecated in PHP 5.x, also to completely prevent injection us PHP’s built-in PDO with statement prepare, so then prepare will escape passed variables.
have a great learning, guys.
Comment by tylerplack on February 8, 2012 at 9:05 am
Thank you so much
Comment by buffmin on February 8, 2012 at 9:44 am
Hey Bucky. Such awesome videos. Thanks!
In your video, you say that the source code from PHP tutorials 30,31 is on your website in the forum, but I don’t think it is. Is is possible to upload it? Thanks much, Buffmin
Comment by LukasTeeVee on February 8, 2012 at 10:39 am
don’t forget to watch this quality in high video xD
Comment by EMLyles on February 8, 2012 at 11:23 am
I concur, which infers the need for a update to the video.
Comment by ModTesterAndMore on February 8, 2012 at 11:28 am
@EMLyles Look at the date of the video, this website has changed dramatically
Comment by th2 on February 8, 2012 at 11:46 am
great vid
Comment by EMLyles on February 8, 2012 at 12:17 pm
He doesn’t post the script on his website, I think he just want subscriptions. There are other sites that share their scripts immediately.
Comment by HawxTeamDelta on February 8, 2012 at 12:23 pm
phew finally after some few practices i finally understand it.. i really prove to my self that you should test everytime you learned something in programming.. now for the next part
Comment by HawxTeamDelta on February 8, 2012 at 1:17 pm
hey can i use the ctype_alnum() function to test my value if its alphanumeric? is it the same as bucky used?
Comment by 6183134 on February 8, 2012 at 1:46 pm
Excelente!
Comment by Thebrand0nc on February 8, 2012 at 2:04 pm
ar there comming more tutorials of these ??
Comment by beatboxpeej on February 8, 2012 at 2:11 pm
@xbugster Of course real validation should be server side duh! lol. I meant things like : Is my email contains a @ and a dot after it etc.
Comment by trappingnoobs on February 8, 2012 at 2:59 pm
@ti07shadow Eregi is deprected.
Comment by trappingnoobs on February 8, 2012 at 3:47 pm
@beatboxpeej Fail on so many levels.
Comment by xbugster on February 8, 2012 at 4:39 pm
@beatboxpeej what are you talking about?! dont talk such sily things. real validation should be done and ONLY serverside. javascript is a client side and can be bypassed without any problem by a bit skilled user or even script kid.
Comment by beatboxpeej on February 8, 2012 at 5:05 pm
@xbugster And I must say that form validation should be made client side not server. So Javascript.
Comment by timtallisman on February 8, 2012 at 5:25 pm
@xbugster eregi() is deprecated anyway :p, you shouldn’t use eregi() at all.
Comment by xbugster on February 8, 2012 at 5:35 pm
again dont use eregi() -> preg_match()
also better to do it with ajax
Comment by Hadyy13 on February 8, 2012 at 5:44 pm
THAT’S THE BEST COMMENT I’VE EVER SEEN ON YOUTUBE!!!!!
“NICE TITS DUDE!”
But yeah, your tuts are awesome