Hi. I display "Login & Register" links on every page of my website, using plain HTML links. You do not have to be logged in to visit these pages. However I would like to be able to display the username of a logged in user on every page in place of these links, without everyone having to log in to view every page. How can I do this?
"; if ($_POST['loginbtn']){ $user = $_POST['user']; $password = $_POST['password']; if ($user){ if ($password){ echo "$user - $password $form"; } else echo "You must enter your password. $form"; } else echo "You must enter your username. $form"; } else echo $form; ?>
Once you made the php pages, how can you put it where ever you want on the page? Like on the index.php, can i put the member pages on right side so they can click there to login?
ok... i dont know what programs you are using but im using dreamweaver to do all this i sucessfully connected to the database to i need the require line?
could you put the FORM in the html and put the IF statements and all the arguments in php separately? or they both have to be in php? Thanks in advance to anyone who answers it = )
PLEASE HELP!! It doesnt show my password & user name in the box's when I go to my locahost and pull up my project. I even reset my password on phpmyadmin and mysql. If anyone can please help?
Yeah, like what code means and all that. I mean, you knew exactly what to put with all the symbols so if you did a tutorial on the real basics like that and what you need to know that would be great.
@PSVofficial I know html and php, I would learn html first, use w3schools to learn it this is a brilliant website and you can learn php on w3schools as well hope this helps!
Love the tutorials - trying to work with them now. Noticed in this one that when you setup the db you were setting active to boolean, but in the very next step when you enter dummy info the field is set as a tinyint so you could use 0 or 1. For those trying to follow along those types of inconsistencies are tough to deal with.
Hi, I would like to know what should I do if I want to add more fields, like 'company' or 'phone' or how to create a country dropdown list? Hopw you could answer soon! Thanks
Hey Nick. I would post this on your forums, but I am having some problems with your sites account activation, so I'll post it here.
I have been having some problems with my PHP registration and login system that I made by following your tutorials. I have isolated the problem to the encrypted passwords being the same every time. I'm not sure if this is THE problem, but it is A problem. I was wondering why the encrypted passwords are always the same? Thanks, Luke.
Comment removed
DellVistaUser99 1 week ago
haha today it is february 12, 2011 and i am writing this almost 1 year after you made this haha
urkerlan 1 week ago
today is February 12th 2012!
MortalWarz 1 week ago
404
boomchikatchi 2 weeks ago
Your source package link doesn't work. Can you upload it again?
mfkphotos 2 weeks ago
why cant i open my .php pages???
Drekifyable 3 weeks ago
Hi, thank you for a interesting and helpfull tutorial. Can you please share all the files u use to get the login page. ( the HTML files) Thank you :)
Sebzinat0r 1 month ago
i need tutorial admin and user.... any ideas where to find?
BerimbauSenzala 1 month ago
i dont want that shit with typing user and password above login how do i erase that?
NagatoKamiPain 1 month ago in playlist login php
Hi. I display "Login & Register" links on every page of my website, using plain HTML links. You do not have to be logged in to visit these pages. However I would like to be able to display the username of a logged in user on every page in place of these links, without everyone having to log in to view every page. How can I do this?
Thanks
JayMMayer 1 month ago
i get this one my website
"; if ($_POST['loginbtn']){ $user = $_POST['user']; $password = $_POST['password']; if ($user){ if ($password){ echo "$user - $password $form"; } else echo "You must enter your password. $form"; } else echo "You must enter your username. $form"; } else echo $form; ?>
Thanks?
Sikeman214 2 months ago
@Sikeman214 I get the exact same problem -.-
HEEEEEEEEEELLLLLLLLLLLLPPPPPPPPPPPPPPP!!!!!
boomchikatchi 2 weeks ago
Can I set the id to begin at a certain number? Like 10001 instead of 1?
stephensansatymail 2 months ago
The source package link is broken. can you please update it. thanks.
stephensansatymail 2 months ago
dont want 2 seem lazy but do you hve a downloadable version of the codes?
kemar904 2 months ago
Once you made the php pages, how can you put it where ever you want on the page? Like on the index.php, can i put the member pages on right side so they can click there to login?
XxRedDude 2 months ago
ok... i dont know what programs you are using but im using dreamweaver to do all this i sucessfully connected to the database to i need the require line?
buraCONAtesta 2 months ago in playlist Favorite videos
could you put the FORM in the html and put the IF statements and all the arguments in php separately? or they both have to be in php? Thanks in advance to anyone who answers it = )
temka892004 2 months ago
Why doesn't my ending PHP tag in the "body" stay red? After I write something inside the the PHP, it turns gray. Good tutorials otherwise!
osode95 3 months ago
does it matter if i dont get the "Notice: Undefined index ......" error at the 9:41 mark?
KurtsGottaGo 3 months ago
Great tutorials! Thanks
1aaac1 3 months ago
Comment removed
1Bassmasta1 4 months ago
This has been flagged as spam show
nothing shows up help me!
m70b1jr 4 months ago
for mysql_connect instead of "localhost" what would i put in if i have my website up and running..?? my URL?
DJB10T1C 4 months ago
PLEASE HELP!! It doesnt show my password & user name in the box's when I go to my locahost and pull up my project. I even reset my password on phpmyadmin and mysql. If anyone can please help?
electronicsnow1 5 months ago
i dont understand why you have to put form into variable?
thanks nice tuts
nnngggiii 6 months ago
Hey I have phpMyAdmin but on the "active" type does not appear the "BOOLEAN" option, what I can do?
mMAKKC 7 months ago
@mMAKKC check to see if "BOOL" is there
DJB10T1C 4 months ago
Hey how do I download PHP my admin 3.4.2 I got it in a Win-rar file and don't know what to do now!
TheKillasProductions 8 months ago
@TheKillasProductions Google and install XAMPP. Then you will have everything you need
MrNickfrosty 8 months ago
Yeah, like what code means and all that. I mean, you knew exactly what to put with all the symbols so if you did a tutorial on the real basics like that and what you need to know that would be great.
PSVofficial 9 months ago
Hey, im a REAL beginner in all this coding and stuff. Can you make a video for the people who have no coding experiance? Thanks.
PSVofficial 9 months ago
@PSVofficial do you mean like the basics of php?
MrNickfrosty 9 months ago
@PSVofficial If you're a beginner in coding, I suggest you start in something more easy such as HTML or CSS.
DarkKripler 4 months ago in playlist PHP Turorials
@PSVofficial I know html and php, I would learn html first, use w3schools to learn it this is a brilliant website and you can learn php on w3schools as well hope this helps!
willz1200 3 months ago
Love the tutorials - trying to work with them now. Noticed in this one that when you setup the db you were setting active to boolean, but in the very next step when you enter dummy info the field is set as a tinyint so you could use 0 or 1. For those trying to follow along those types of inconsistencies are tough to deal with.
dmwesq1442 9 months ago
Hi, I would like to know what should I do if I want to add more fields, like 'company' or 'phone' or how to create a country dropdown list? Hopw you could answer soon! Thanks
NxP100 10 months ago
@NxP100 just add the form elements and then use the similar code as the other form elements to get the data from it.
MrNickfrosty 10 months ago
@MrNickfrosty Dude the code is gone :( - on the site
MrBOBMAN567 3 months ago
Hey Nick. I would post this on your forums, but I am having some problems with your sites account activation, so I'll post it here.
I have been having some problems with my PHP registration and login system that I made by following your tutorials. I have isolated the problem to the encrypted passwords being the same every time. I'm not sure if this is THE problem, but it is A problem. I was wondering why the encrypted passwords are always the same? Thanks, Luke.
Lukedude5 10 months ago
@Lukedude5 what problem are you having with the activation, so you can post your code in the forum?
MrNickfrosty 10 months ago
are u going to finish to forum tutorials??
hugommatosilva 1 year ago
@hugommatosilva eventually or i may just remake them completely
MrNickfrosty 1 year ago