PDA

View Full Version : Username & Password in PHP



Daniel Hollands
January 30th, 2001, 18:27
Can someone help me with a username and password script for PHP please?

I think the basic would be to pull the info out of the database, and then do a simple:


$password == $db_password

Would this be the best way, or is there a better way that you can think of?

BTW, I’m still learning PHP, as you may have guessed by now :)

Woofcat
January 30th, 2001, 19:40
Yes you would want to pull the info from a database, but it's a little more complicated than that...

BillWill
January 30th, 2001, 20:13
Also might I suggest visiting PHP.net for documentation or posting these questions on PHPBuilder.com. You should be able to master PHP with these two resources.

Daniel Hollands
January 31st, 2001, 12:11
Thank you, i'll head over to PHPBuilder.com and ask there, thank you again :-)