Re: [PHP] Authentication with sessions - Recommendation and suggestions?

2002-02-14 Thread Erik Price
On Wednesday, February 13, 2002, at 08:51 PM, Harry Yu wrote: Can anyone give me any suggestions or recommendations? Is there any security concerns? Also, the session files are in a directory that is not world readable. I just set up my own first authentication system, and it works very

[PHP] Authentication with sessions - Recommendation and suggestions?

2002-02-13 Thread Harry Yu
Hi All, I'm trying to setup an authentication process and sessions to protect some of my pages for valid users only. The following are what I had in mind: login.php-- ?php if ( isset ( $username ) isset ( $password ) { mysql_connect ( localhost, user, pass ); mysql_select_db ( $db ); $result