Dre wrote:
the exact error messages are
============================================================================ ==========================
Warning: session_start(): open(/tmp\sess_000c30790862f64268e755546b6fcbb2, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\maillist\maillist\admin.php on line 1
First, if you want to store session data on win32, you'll need to change the session.savepath in your php.ini.
open it and search for:
session.save_path
and change it from
session.save_path = /tmp
to
session.save_path = C:\WINDOWS\Temp (Or wherever your temp folder is if you're not on XP)
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\maillist\maillist\admin.php:1) in C:\Program Files\Apache Group\Apache2\htdocs\maillist\maillist\admin.php on line 1
This error tells you that the output was started at line 1 of your admin.php file. (maybe a blank line at the top of the script?)
As Miles suggested:
"You have to call session_start() before any output to the page, even a single space."
-- Chris Martin Web Developer Open Source & Web Standards Advocate http://www.chriscodes.com/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php