>>Oh and here is the output i get when i run the script.
>>Warning: Failed to write session data (files). Please verify that the
>>current setting of session.save_path is correct (/tmp) in
>>/usr/local/apache/htdocs/cp/login.php on line 43

TR> This below is your problem, you must be outputting white space so it can't 
TR> set the session cookie.
TR> Tom

>>Warning: Cannot add header information - headers already sent by (output
>>started at /usr/local/apache/htdocs/cp/login.php:43) in
>>/usr/local/apache/htdocs/cp/login.php on line 45

Actually, it's not (but good helping!).  Because there's an error
before -- his system's failure to write the session -- the warning is
the output that is referenced afterwards.  First error is the actual

- Julie

--> Julie Meloni
--> www.thickbook.com

Find "Sams Teach Yourself MySQL in 24 Hours" at

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to