ID: 14251 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Analyzed Old Bug Type: Unknown/Other Function Bug Type: Scripting Engine problem Operating System: Linux Mandrake 8.0 PHP Version: 4.1.0 New Comment:
Reproduced. Seems like cwd changes to / always. Previous Comments: ------------------------------------------------------------------------ [2001-11-27 12:04:10] [EMAIL PROTECTED] Current directory in main program body and into shutdown function is not same. Sometimes its changes to '/' or something else. Try to execute this script and reload page some times: <? set_time_limit(0); ignore_user_abort(0); function Test() { echo "Shutdown function: ", `pwd`; }; echo "Body: ", `pwd`; register_shutdown_function ("Test"); ?><BR> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14251&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]