note 27288 added to function.register-shutdown-function
| From: | jeffrey-krist at zeelandnet dot nl | Date: | Sat, 30 Nov 2002 20:14:31 +0000 |
| Subject: | note 27288 added to function.register-shutdown-function | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40189@lists.php.net to get a copy of this message | ||
This function will not work when you do:
function bye(){
$f=fopen("1.dat", "w");
fputs($f, date("U"));
fclose($f);
}
register_shutdown_function('bye');
PHP doesn't want to write a file. To register a Session indeed.
maybe another know how this is possible
--
http://www.php.net/manual/en/function.register-shutdown-function.php
http://master.php.net/manage/user-notes.php?action=edit+27288
http://master.php.net/manage/user-notes.php?action=delete+27288
http://master.php.net/manage/user-notes.php?action=reject+27288