register_shutdown_function
| From: | Jason Goodman | Date: | Tue, 26 Mar 2002 14:09:45 +0000 |
| Subject: | register_shutdown_function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90185@lists.php.net to get a copy of this message | ||
2 questions about register_shutdown_function.
1)Functions registered with register_shutdown_function are called after the script finishes
processing. Is there a way to have a function only called when the PHP form is actually closed?
2)The function registered with register_shutdown_function does not seem to write to a file before
the PHP page is closed. I need to send a message to another file when the PHP form is closed.
Thanks
Jason Goodman