Encrypted Passwords
your_password + username $u = crypt ( your_password ) PHP insert username + $u SQL MySQL database username | encrypted password username | $u Password Table Your actual password is never stored – either in the PHP program or the database Only its encrypted version ! On Password Creation
your_password + user select * from Password where username=user SQL MySQL database username | encrypted password EC user EC $y = mysql_fetch_array ( $x ) ; $x Password Table $y["EC"] ) crypt ( "your_password", ( == $y["EC"] )or ( die ("Invalid password") ) ; On Password based Authentication
PHP Syntax checking Usually white screen of death signals PHP syntax error. /