> I get these errors from a simple "session_start();" script. > > Warning: session_start() [function.session-start]: > open(/tmp\sess_f4aa3ef3c537bb6327d5e7b991e91be7, O_RDWR) failed: No such > file or directory (2) in c:\inetpub\wwwroot\picoblog\admin.php on line 2
Do you have a /tmp folder on your computer? Probably not, so that's why PHP is throwing a warning, because it can't write to a directory that doesn't exist. > Warning: session_start() [function.session-start]: Cannot send session > cookie - headers already sent by (output started at > c:\inetpub\wwwroot\picoblog\admin.php:2) in > c:\inetpub\wwwroot\picoblog\admin.php on line 2 > > Warning: session_start() [function.session-start]: Cannot send session cache > limiter - headers already sent (output started at > c:\inetpub\wwwroot\picoblog\admin.php:2) in > c:\inetpub\wwwroot\picoblog\admin.php on line 2 These are just by-products of the first error. Set your session.save_path setting in php.ini to a folder that IIS can write to. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php