Do you have a video on an automatic return email for your website users recovering usernames or passwords/storing the information in some sort of database?
Thanks man, I saved the video on my mobile phone (just watched on my phone too), so I can watch it and use it on my laptop. Really the best PHP registration tut on youtube I believe!
help i keep getting this You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') VALUES('testing','ae2b1fca515949e5d54fb22b8ed95575','testing@test.com'' at line 2
and this is what seems to be wrong :INSERT INTO `users` (`username`,`password`,`email`,`name`,) VALUES('$username','".md5($password)."','$email','$name');"; $res3 = mysql_query($sql3) or die(mysql_error());
HEY! THANKS so much for the reply... My issue is more with actually using the login since it is geared towards your forum, any chance you have it formatted to fit just the registration tut you did ? I WOULD PROLLY LICK UR TOES LOL Just KIDDING!
Hey! Thanks for all the help, I am trying to make a login section now that I have the registration working with the DB without any errors ect... It seems the login is geared towards a forum? How do I configure the login pages so that it works with just the Registration V3 pages?
@lifeg0eson666 The issue for me is that its not formatted specifically for the reg form... whats the chances you have it formatted and taillored to the reg v3 tut?
Well thanks mate..this is the best php vid I've ever watched so far that deals with user registartion...big up man...it's been really helpful....keep the good work going mate....thanks again:)
Hi..I copy your source code and thanks loads,everything works fine. But I keep getting a notice : unidentified index : submit. What should i do to remove that notice. Thanks
@Kvzch Save the php files in the same directory on your server, to create the database if this is what your question is you need to log into your control panel, scroll down the control panel until u see the icon to create the database then you need to add a user which you also need to create in your control panel then you add the user to the dbase then you click your control panel home icon, scroll down to the phpmyadmin icon, you will see the database you created in the left margin....
If you go to my channel page and view the PHP Forum tutorial playlist, check out PHP Forum // Login and Logout, it was made to work with this registration tutorial.
man you dont have to echo all html forms tables etc... just close those php tags just after the if statement and write those html tags directy and at the end of it open the php tag and close the if statement... that's all... this way you can see how those form content looks like in programs like Dreamweaver... and you wont need to escape all those quotemarks...
I have the code perfect, and everything, but whenever I click submit, no matter what is in the boxes, It displays a blank page with "Query was empty". Can't figure out what's wrong...
Sir can you upload the HD video and send it to me so i can pause the video , coz the video in your site haven't pause botton or i dunno , also send to me the files u used in the video , ^_^
Hey Sorry But I cannot read what you have typed in the video can you post the code in Video Description or can you make your video over and have better quality this time please. Thank You.
What is the difference between regular PHP codes and a PHP template? Specifically, what is the difference between Smarty PHP templates and regular PHP templates? (I know what a template is, but not sure how a Smarty Template differs from other PHP templates)
Smarty basically predefines everything in the page, so all you have to do is naturally set variables that will fill those spots in, as for regular PHP you define and fill in each variable in the spot that is going to be on your page.
What's the point of posting a tutorial if I'm just going to hand out the source to anybody who wants it? My site works, you just went to the wrong one.
Crap can't edit, anyway my code is incorrect and I keep getting errors so is it possible that either you post the source code or I email what I have and you help me fix it?
It would be great if could add rw/ff to the HD videos.... for some reason the video stopped and I had to refresh.... but it started from the beginning
Very good tutorial. And I subscribed as well> But please give the link with some good quality :) I would like to see this tutorial again with good quality. The link in descriptions isn't working :( FAISAL!
As those HD vids are down, could you please post/PM that $checkemail string, as I couldn't see, nor comprehend it, and it's my last error (I hope). Or is it a "secret recipe"?
One small problem i was watching the the hd version and after you did the pause for the table you started going to fast and i didnt have enough time to type it in. If you could spear some time to maby do a text version i would be very grateful
very good tutorial, just finished it and have a better understanding for it. Only thing that need an explanation is why in the if section there is \ before and after everything? will it not read correctly without them? what is the reason behind that? Thanks for the help.
where can i get all of your php coding from? id like to get a copy of all of them because its kinda hard to keep up with you on the vids when you cant see and HD you cant pause or play.
Sound and image is not matched in HD version + there is no control bar so I cannot stop the video to see the codes. If you can provide the links to download those videos, that will be great.
Fantastic video! Thanks a lot, it really helped me. I am however having a little problem trying to login with a password which has been encrypted with md5, but I'll find out a way somehow.
Just FYI the high def one looks great, but the audio sounds CRAZY it has random spirts of you sounding like a chipmonk and then you sound like the devil. I am not sure why, but if you could get that working that would be great.
Thanks for the video!!! I really liked the idea of using an array for the errors, that will make formatting multiple errors. Liked that coding more than your other videos, very nice! Thx again.
Why are you calling both mysql_real_escape_string() and addslashes() in your protect() function? The addslashes() call is absolutely unnecessary and may even corrupt your data if you forget to remove these slashes when you fetch and print out the data again. For escaping special chars in the HTML output there's htmlspecialchars().
Hey ive tried this script but when i preview it it says Parse error: syntax error, unexpected '}', expecting ',' or ';' in C:\xampp\htdocs\xampp\fusion\register.php on line 110
but theres only a } which needs to be there...any suggestions? thanks :)
mate you have talking problems, every 3 seconds you stop talking and go: aam, like a fckng girly. i m sorry for you.
duvit22 5 months ago
another one came up too :/ its this
'Unknown column 'admin' in 'field list''
SmashAnimations 5 months ago
'Notice: Undefined index: submit in C: on line 7
what is this and could you explain how to fix this please?
SmashAnimations 5 months ago
Do you have a video on an automatic return email for your website users recovering usernames or passwords/storing the information in some sort of database?
MsLollipop30 7 months ago
Very good piece of work. Amateur PHP, good for learning.
illidan20005 9 months ago
Column count doesn't match value count at row 1
dont know what to do..
olivurh 10 months ago
Column count doesn't match value count at row 1
olivurh 10 months ago
ummm the code doesnt work can i hav som help?
funkychicken10011 10 months ago
Comment removed
TheScars75 1 year ago
Thanks man, I saved the video on my mobile phone (just watched on my phone too), so I can watch it and use it on my laptop. Really the best PHP registration tut on youtube I believe!
DriekvdStam 1 year ago
This has been flagged as spam show
Heck out the thousands of profiles for Naughty women mworld5.info
TONIACLARA 1 year ago
ппц говнокод.
demushkin2 1 year ago
This has been flagged as spam show
Search online Russian women gettop5.info
KeeneBarajas 1 year ago
Your voice changed hahah :)
simonttz 1 year ago
Great tutorial, very helpful, thanks.
SpareHeadThreee 1 year ago
Awesome choice in editor btw :P
priceydude 1 year ago
help i keep getting this You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') VALUES('testing','ae2b1fca515949e5d54fb22b8ed95575','testing@test.com'' at line 2
and this is what seems to be wrong :INSERT INTO `users` (`username`,`password`,`email`,`name`,) VALUES('$username','".md5($password)."','$email','$name');"; $res3 = mysql_query($sql3) or die(mysql_error());
pokeplatinum62 1 year ago
@pokeplatinum62
did you find your answer to your question?
it seems we have same problem here
kyorjhay 1 year ago
This has been flagged as spam show
@pokeplatinum62
did you find your answer to your question?
it seems we have same problem here
kyorjhay 1 year ago
@pokeplatinum62
did you find your answer to your question?
it seems we have same problem here
kyorjhay 1 year ago
This has been flagged as spam show
@kyorjhay you can find it at his website in the description it has everything
pokeplatinum62 1 year ago
what did he type for the email validator i didn't catch it
pokeplatinum62 1 year ago
The issue for me is that its not formatted specifically for the reg form... whats the chances you have it formatted and taillored to the reg v3 tut?
1KeyIDentitY 1 year ago
HEY! THANKS so much for the reply... My issue is more with actually using the login since it is geared towards your forum, any chance you have it formatted to fit just the registration tut you did ? I WOULD PROLLY LICK UR TOES LOL Just KIDDING!
1KeyIDentitY 1 year ago
Hey! Thanks for all the help, I am trying to make a login section now that I have the registration working with the DB without any errors ect... It seems the login is geared towards a forum? How do I configure the login pages so that it works with just the Registration V3 pages?
1KeyIDentitY 1 year ago
@1KeyIDentitY Hi, good question. View my tutorial PHP Forum | Login and Logout, it uses this registration tutorial as the base.
lifeg0eson666 1 year ago
This has been flagged as spam show
@lifeg0eson666 The issue for me is that its not formatted specifically for the reg form... whats the chances you have it formatted and taillored to the reg v3 tut?
1KeyIDentitY 1 year ago
Well thanks mate..this is the best php vid I've ever watched so far that deals with user registartion...big up man...it's been really helpful....keep the good work going mate....thanks again:)
Reyhan2100 1 year ago
didn't understand a thing
Mickycond86 1 year ago
i need help i gaint this error No database selected
i have changet the database from local host to my webhost and the username to my own
can you help me :(
kipkip123thomas 1 year ago
Why are you using addslashes()? You should use mysql_real_escape_string(). And have you ever heard of HEREDOC? Saves you a lot of typing....
okliertw 1 year ago
Hi..I copy your source code and thanks loads,everything works fine. But I keep getting a notice : unidentified index : submit. What should i do to remove that notice. Thanks
fawz07 1 year ago
To view in HD just add &fmt=18 to the url and then slap return, hey presto youll be able to read the text.
dashbyictfd 1 year ago
I don't get two things where do you save php file? And how is it connected to database you created on phpmyadmin?
Kvzch 1 year ago
then enter the name of the table so say user into the textfield and click go, you will then see the database with 1 table.
dashbyictfd 1 year ago
@Kvzch Save the php files in the same directory on your server, to create the database if this is what your question is you need to log into your control panel, scroll down the control panel until u see the icon to create the database then you need to add a user which you also need to create in your control panel then you add the user to the dbase then you click your control panel home icon, scroll down to the phpmyadmin icon, you will see the database you created in the left margin....
dashbyictfd 1 year ago
whoddaya take the ! out of if(!$_POST['submit']);
Chazer78 2 years ago
Sigh. It does not stop giving me the parse error in $res4 = mysql...
whoddaya 2 years ago
I just figured out why. But, I still get an error on line 6 (the if(!$_POST'[submit]') one.
whoddaya 2 years ago
you need if(!$_POST['submit'])
Alec7890 2 years ago
Now I need to find out how to login.
SethiXzon 2 years ago
If you go to my channel page and view the PHP Forum tutorial playlist, check out PHP Forum // Login and Logout, it was made to work with this registration tutorial.
lifeg0eson666 2 years ago
I believe I'm using it right now. Your tutorials are great, by the way.
SethiXzon 2 years ago
man you dont have to echo all html forms tables etc... just close those php tags just after the if statement and write those html tags directy and at the end of it open the php tag and close the if statement... that's all... this way you can see how those form content looks like in programs like Dreamweaver... and you wont need to escape all those quotemarks...
someturkishguy 2 years ago
Excellent tutorial!
pssfin 2 years ago
I have the code perfect, and everything, but whenever I click submit, no matter what is in the boxes, It displays a blank page with "Query was empty". Can't figure out what's wrong...
Joorb 2 years ago
The source is available if you're in dire need of it.
lifeg0eson666 2 years ago
waaa,
sir i can pause it now hehe
ty for fast responce
kakkoi0071 2 years ago
Sir can you upload the HD video and send it to me so i can pause the video , coz the video in your site haven't pause botton or i dunno , also send to me the files u used in the video , ^_^
it will be wonder if you do that to me ^_^
kakkoi0071 2 years ago
Just right click the video and click Play, it will pause it. If you weren't lazy you would realize the files are already available.
lifeg0eson666 2 years ago
man, you sound really different from ur first reg tut.
jcdock 3 years ago
My friend can't see a thing you are typing.
It would be simplier if you zoom in twice and then film, cauze trully it is better to see what you type instead of full page with porridge.
valdemaras1 3 years ago
add &fmt=18 at the end.
GunskiMod 3 years ago
I know this address end is for hq, but even with it letters are seen small, very small.
Sugest for "students" and "lecturers" to learn from phpacademy user's lectures.
lifeg0eson666 i admire your work and thanks a lot for posting such valuable material.
valdemaras1 3 years ago
or phpsquad(dot)net/video(dot)php?v=reg_v3
GunskiMod 3 years ago
Comment removed
bricelee2 3 years ago
You're too SLOW! Turn it up a knotch!!
MakeMeSream 3 years ago
noobs source is on his site..
karlwolf2 3 years ago
lol.
lifeg0eson666 3 years ago
Can you please send me code for this?
guitar453 3 years ago
Hey Sorry But I cannot read what you have typed in the video can you post the code in Video Description or can you make your video over and have better quality this time please. Thank You.
- AbdulSaqib
abdulsaqib 3 years ago
Hi dude, i love you HD video but!! when i followed your tutorial i found 2 problem or just one :P
connect(); does not work for me, so i tryd $connect
but it does not work when i click register.. it might be 2 problems or just one..
tnx for a good tutorial :)
myx0x3 3 years ago
Nwm i found it X) i had function connecet () { Hehe...
myx0x3 3 years ago
Why do you use /n and =\"word\"
it just shows up as something wrong in my phpDesigner unless i need to change some setting
666devon666 3 years ago
\n, when you view the source of page acts as a new line in the HTML, not a break, just a new line.
and =\"word\" i'm escaping the quote so it's more HTML friendly
lifeg0eson666 3 years ago
ei, uhmm, i cant view the hd in your site, do you have like a text copy of the codes?
csfritzcs 3 years ago
What is the difference between regular PHP codes and a PHP template? Specifically, what is the difference between Smarty PHP templates and regular PHP templates? (I know what a template is, but not sure how a Smarty Template differs from other PHP templates)
stargen5 3 years ago
Smarty basically predefines everything in the page, so all you have to do is naturally set variables that will fill those spots in, as for regular PHP you define and fill in each variable in the spot that is going to be on your page.
lifeg0eson666 3 years ago
i cant read it
boburmum1 3 years ago
view the high def...
lifeg0eson666 3 years ago
I can't read it. :\
cbvgg 3 years ago
view the high def...
lifeg0eson666 3 years ago
Anybody if youre having trouble viewing add &fmt=18 to the end :)
LeetGamerz 3 years ago
Hey, Marcus, this is a very helpful PHP video. Do you also code in Ruby?
willdex01 3 years ago
I cant see anything :(
jogvanandersen 3 years ago
I keep on getting this error:
Parse error: syntax error, unexpected '{' in register.php on line 80
And I can't find the unexpected { because everything seems to be in place
Sedushi12 3 years ago
Nevermind I fixed it.
Sedushi12 3 years ago
Hello Lifegoeson!
You are doing a great job here for people like us.
I also would like to let you know about the difficulties some of us are facing with this tutorial.
It's bit difficulties to read the whole thing; to be frank with you let me say that it is really impossible to understand due to the unclear letters.
Give it a thought buddy, maybe you will find a way to let us know how to clear this thing up ...
:-)
Thanks.
MyLiar 3 years ago
yeah i figured it out at the last moment and i got to say u Rock m8!!!^^
saidassan 3 years ago
please post a Source code becuase i cant even read what u wrote...-.-' so please post a Source code and ur Site dont work...
saidassan 3 years ago 2
What's the point of posting a tutorial if I'm just going to hand out the source to anybody who wants it? My site works, you just went to the wrong one.
lifeg0eson666 3 years ago
Hey can you please post the source of the table because HD doesn't work for me and I can't read it from here.
Magic4life4ever 3 years ago
Crap can't edit, anyway my code is incorrect and I keep getting errors so is it possible that either you post the source code or I email what I have and you help me fix it?
Magic4life4ever 3 years ago
It would be great if could add rw/ff to the HD videos.... for some reason the video stopped and I had to refresh.... but it started from the beginning
analreceiver 3 years ago
hahahahahahahahahahhahahahahahahahahahahahahahah
Gag660 3 years ago
The sound on the HD Video is fucked up "/
xatic1 3 years ago
mm what about give us source?
i cant see anything :(..
Vkold 3 years ago
Giving the source away would be a waste of a tutorial, view the high-definition on my website.
lifeg0eson666 3 years ago
Congratulations for your tutorials. Your tutorials are great. Thanks alot for you effort, thank alot for explaining all those things for us. Thanks !
XpChannel 3 years ago
Thank you :)
lifeg0eson666 3 years ago
Ps: @ the dude having problems with the errors, try:
die($error[] = "Your error here");
instead of:
$error[] = "Your error here";
The die() function stops everything, and echos whats in the brakets.
kalonm 3 years ago
$error[] = "Your error here";
that is adding to the error array, if you die it on one error, the whole script is going to stop until you check the rest of the script.
lifeg0eson666 3 years ago
Yeah, I suppose there isn't much point to the array if you die(). It was just a quick fix for
ggggggrn.
What would be really cool is some AJAX, but still, if the user had jascript turned off your foreach method would still be the best.
kalonm 3 years ago
Your videos are great - really informative and clear. I reccomend the high def ones.
I like the way you say abbreviations ;)
kalonm 3 years ago
Thank you :) Glad somebody likes the way I say stuff :p
lifeg0eson666 3 years ago
Very good tutorial. And I subscribed as well> But please give the link with some good quality :) I would like to see this tutorial again with good quality. The link in descriptions isn't working :( FAISAL!
frenchbluffmaster 3 years ago
Thanks :) phpsquad[dot]net :)
lifeg0eson666 3 years ago
Neat and organised, very good work.
As those HD vids are down, could you please post/PM that $checkemail string, as I couldn't see, nor comprehend it, and it's my last error (I hope). Or is it a "secret recipe"?
You're a great-great help. Thank you for it.
Peace
Kadosknight 3 years ago
The HD works, just view my channel and go to the link on there, I just haven't updated the link here.
lifeg0eson666 3 years ago
awsome tut.
One small problem i was watching the the hd version and after you did the pause for the table you started going to fast and i didnt have enough time to type it in. If you could spear some time to maby do a text version i would be very grateful
jcdock 3 years ago
Thanks. Yes, I'm aware of the "you can't pause." But you can still right click and uncheck the "Play" option and it will pause the video.
lifeg0eson666 3 years ago
didnt no you could do that. Tyvm
jcdock 3 years ago
An excellent video. Kudos to you mate.
kleb100 3 years ago
Thanks :)
lifeg0eson666 3 years ago
Sorry for double post, but do you need the AIM variable to be checked? If not, how do I make it optional?
JaxDragon1 3 years ago
just remove anything that it checks on
lifeg0eson666 3 years ago
Link to HD gives an error :*(. Can you send source?
JaxDragon1 3 years ago
lol no. phpsquad[dot]net
lifeg0eson666 3 years ago
good job making the video.
lplieutenant 3 years ago
thanks :)
lifeg0eson666 3 years ago
very good tutorial, just finished it and have a better understanding for it. Only thing that need an explanation is why in the if section there is \ before and after everything? will it not read correctly without them? what is the reason behind that? Thanks for the help.
SSCONCEPTZ 4 years ago
where can i get all of your php coding from? id like to get a copy of all of them because its kinda hard to keep up with you on the vids when you cant see and HD you cant pause or play.
SSCONCEPTZ 4 years ago
you can pause it, just right click it and uncheck Play... none of my source is ever available.
lifeg0eson666 4 years ago
well on another tutorial you told us you would post the code on a website so that we could get it incase we couldnt keep up.
SSCONCEPTZ 4 years ago
that's not this video though
lifeg0eson666 4 years ago
Ithink your HD videos are down on your website..
DrBallard2 4 years ago
phpsquad[dot]net
lifeg0eson666 4 years ago
go to phpsquad[dot]net
lifeg0eson666 4 years ago
Sound and image is not matched in HD version + there is no control bar so I cannot stop the video to see the codes. If you can provide the links to download those videos, that will be great.
Anyway, thanks alot.
tinhbanghuu 4 years ago
I'm going to be redoing the SWF of it, so it'll be like that for a couple more days
lifeg0eson666 4 years ago
Fantastic video! Thanks a lot, it really helped me. I am however having a little problem trying to login with a password which has been encrypted with md5, but I'll find out a way somehow.
Thanks agian, keep them coming!
Wonderboyy001 4 years ago
Glad you liked it, you're welcome :D
lifeg0eson666 4 years ago
buy it
lifeg0eson666 4 years ago
Do you have the source? I just need to look at the error part. I am confused of that part.
zachattackpro 4 years ago
Just FYI the high def one looks great, but the audio sounds CRAZY it has random spirts of you sounding like a chipmonk and then you sound like the devil. I am not sure why, but if you could get that working that would be great.
son1caaron 4 years ago
Lol. I guess my computer was flipping out at the time. Thanks though.
lifeg0eson666 4 years ago
Thanks for the video!!! I really liked the idea of using an array for the errors, that will make formatting multiple errors. Liked that coding more than your other videos, very nice! Thx again.
son1caaron 4 years ago
:D Thanks, glad it helped.
lifeg0eson666 4 years ago
Using HereDoc would be better i think where , more HTML is needed. Because, echo makes it unreadable or hardly readable code after 1000 lines.
bizunas 4 years ago
dude! your voice changed! congrats! you are now an adult! and another soldier in fight against communism! :) :) great videos!
hulksjedi 4 years ago 3
If I posted the source it's learning it is it? The other vid is HD, let it load before you play it
lifeg0eson666 4 years ago
No. I suggest you just follow the tutorial and give it your best.
lifeg0eson666 4 years ago
Why are you calling both mysql_real_escape_string() and addslashes() in your protect() function? The addslashes() call is absolutely unnecessary and may even corrupt your data if you forget to remove these slashes when you fetch and print out the data again. For escaping special chars in the HTML output there's htmlspecialchars().
netizen78 4 years ago
You make a point, it's only adding more slashes, I've worked with this before.
mres for hello y'all would be: hello y\'all
mres + as for hello y'all would be: hello y\\\'all
lifeg0eson666 4 years ago
yea i dont really understand the slashes either, could they be removed? why is this security?
SSCONCEPTZ 4 years ago
Hey ive tried this script but when i preview it it says Parse error: syntax error, unexpected '}', expecting ',' or ';' in C:\xampp\htdocs\xampp\fusion\register.php on line 110
but theres only a } which needs to be there...any suggestions? thanks :)
sugarlisx 4 years ago
Check the line before it
lifeg0eson666 4 years ago
doesnt seem to have any error in that line either :S
sugarlisx 4 years ago
Good video, good idea with errors array, i will use it in my scripts.
If u can please make login script using sessions and cookies, i would like to see how you are making this.
Good video, congratz !
s0resh 4 years ago
Thanks :D
I'm most likely going to do that.
lifeg0eson666 4 years ago
I'v forgot, i am using the phpdesigner 2008, thanx to you, i did'nt even know that there is so good php editor.
s0resh 4 years ago
Dang, if this really is you, then your voice has changed a lot from a year ago untill now. o_o
I was watching the other video, then this afterwards, and I was like.. What the heck?
Daaaanni 4 years ago
Lol it's really me.
lifeg0eson666 4 years ago
thanx buddy...but the video quality is bad
ckarmax 4 years ago
If you listened you would have went to the video description for high definition.
lifeg0eson666 4 years ago
thanks marcus :)
xsultan2 4 years ago
nice, I love it
zachattackpro 4 years ago