New to web / php devel. Take pity on me.
| From: | Marc Shlaes | Date: | Sat, 13 Apr 2002 00:24:37 +0000 |
| Subject: | New to web / php devel. Take pity on me. | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344347@lists.php.net to get a copy of this message | ||
I made the simplest program I could to try to figure out why my
session_start() isn't working.
PHPINFO tells me that
1. Sessions are enabled.
2. The path c:/temp is shown so php.ini is doing the right thing
The path exists and can be successfully written to from the OS
The OS is WIN98 running Apache.
What is wrong?????????????????????/
code ----------------------------------------
----------------------------------------------
<?php
session_start();
$test=session_save_path();
print "Session Save Path is: $test";
?>
output---------------------------------------
---------------------------------------------
Warning: open(/temp/sess_66ae6b55dc3e157c00345e53b72c8a0e, O_RDWR) failed: m
(2) in d:\testsite\test.php on line 2
Session Save Path is: c:/temp