PHP Tutorials: Register & Login: User login (Part 1)
phpacademy asked:
Part of the ‘Register & Login’ Project from PHP Academy. This tutorials walks you through how to process a username and password based login against details found in a database, set a session, and process a logout function. … php programming tutorial tutorials help code learn teach mysql sessions login username password user pass database session
Caffeinated Content - Members-Only Content for WordPress
Create a video blog…instantly.
I got a question for you, when registrate an account, the variable will be as the letters were wrote. for example: VikToR.
the login function wont recognize “viktor” because of that, how to include this, I believe is called, “case sensitive”?
Caffeinated Content - Members-Only Content for WordPress
Parse error: parse error in C:\xampp\htdocs\login.php on line 10
That suck’s. I can’t figure out what’s wrong with this, it’s the error messageI get when trying to log in.
Kansieo.com
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘admin’@'localhost’ (using password: YES) in C:\xampp\htdocs\login.php on line 12
Couldn’t connect!
Kansieo.com
Warning: session_start() [function.session-start]: Cannot send session cache limiter
Create a video blog…instantly.
Warning: session_start() [function.session-start]: Cannot send session cache limiter
Kansieo.com
Warning: session_start() [function.session-start]: Cannot send session cookie
Caffeinated Content
How do you do unique id? and whats that all about?
PHP programming
Bro… you have a nice tutorial….
I have a problem regarding session_start.
What is the problem of SESSION_START;?
An error look like this…….:
Website content
dude you rock i finnally got this all down and it worked the only thing i needed to change was the connections names nice job!
PHP programming
can you teach me how to make this in one single page`?
Caffeinated Content - Members-Only Content for WordPress
SQL-query:
CREATE TABLE `users` (
`id` INT NOT NULL AUTO_INCREMENT ,
`username` VARCHAR( 25 ) NOT NULL ,
`password` VARCHAR( 25 ) NOT NULL
)
Caffeinated Content
YEAH I TYPE QUICKLY
Caffeinated Content
very very good !!! really a programmer!!!!
PHP programming
Looks nice Thanks alot man
Is it possible i can get all the videos down on my PC?
Create a video blog
Nice work, i hope part 2 works as well
Create a video blog
PRACTICE
Kansieo.com
how the hell do you type so fast
Caffeinated Content
ok thanks is there a tutorial on how to do that?
Website content
In this case the user would not be able to retrive their password. What you’d have to do is provide the option to reset their password, for example they are sent an email with a new password. Then you’d maybe have the option to let the user change their password on-site. Hope this helps!
Caffeinated Content
what would be the code if the username forgot their password? how can the info from the database of the user be emailed to them?
Kansieo.com
Hi, i? want to know the main purpose of connection of phpmyadmin to php web page. And is it nacessary to first fill in data in phpmyadmin or will the data automatically gets stored in phpmyadmin,,while registering on the php web page
PHP programming
There is a mail() function tutorial which could be added to he register php file.
Caffeinated Content
End of my comments on this one. I say “Zamp” not “Ex-amp”. It’s kind of like the word Xylophone - it’s not “Ex-zylophone”…it’s “Zylophone”.
PHP programming
Awsome tutorial!!
Do you have one that shows how to automatially send an email to a user that just registered at a site?
Thanks.