Hey guys, I really appreciate this thread, I was about to post this exact question earlier this morning.
I used your script and customized it a little bit to work with my page titles, and i also changed the login and password to check with a table of users in my mysql database. However, I'm getting a wierd error when auth.inc.php tries to session_start(). I think it might be a problem with the security settings on my webserver? I'm not sure cause I'm new to this stuff and just set up the webserver yesterday and mysql today. Heres the errors I'm getting:
Warning: session_start(): open(/tmp\sess_cd7e718a677835d56037ce9cda237eec, O_RDWR) failed: No such file or directory (2) in f:\Inetpub\wwwroot\auth.inc.php on line 2
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at f:\Inetpub\wwwroot\auth.inc.php:2) in f:\Inetpub\wwwroot\auth.inc.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at f:\Inetpub\wwwroot\auth.inc.php:2) in f:\Inetpub\wwwroot\auth.inc.php on line 2
Warning: Unknown(): open(/tmp\sess_cd7e718a677835d56037ce9cda237eec, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
TIA and thanks for all the help you've given already...
Matt