note 84300 added to function.session-set-save-handler
| From: | tomas at slax dot org | Date: | Tue, 08 Jul 2008 14:00:14 +0000 |
| Subject: | note 84300 added to function.session-set-save-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141269@lists.php.net to get a copy of this message | ||
Regarding the SAPIs: The warning mentioned in function's description (that the Current working
directory is changed with some SAPIs) is very important.
It means that if your callback 'write' function needs to write to a file in current
directory, it will not find it. You have to use absolute path and not rely upon the current working
directory.
I thought this warning applies only to some strange environments like Windows, but it happens
exactly on Linux + Apache 2.2 + PHP 5.
----
Server IP: 212.24.129.51
Probable Submitter: 78.136.165.211
----
Manual Page -- http://www.php.net/manual/en/function.session-set-save-handler.php
Edit -- https://master.php.net/note/edit/84300
Del: integrated -- https://master.php.net/note/delete/84300/integrated
Del: useless -- https://master.php.net/note/delete/84300/useless
Del: bad code -- https://master.php.net/note/delete/84300/bad+code
Del: spam -- https://master.php.net/note/delete/84300/spam
Del: non-english -- https://master.php.net/note/delete/84300/non-english
Del: in docs -- https://master.php.net/note/delete/84300/in+docs
Del: other reasons-- https://master.php.net/note/delete/84300
Reject -- https://master.php.net/note/reject/84300
Search -- https://master.php.net/manage/user-notes.php