RE: [PHP] OnUNload Scripts
| From: | Martin Towell | Date: | Wed, 24 Oct 2001 06:51:24 +0000 |
| Subject: | RE: [PHP] OnUNload Scripts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72051@lists.php.net to get a copy of this message | ||
From what I can tell, the only way you can execute a PHP script is to have
the browser request it. This means using the same window that the document
is being "unloaded" in, or opening a new window.
You could open a new window, give focus to the current window, and in the
new window, have it close itself after it's finished processing.
Hope this helps.
Martin
-----Original Message-----
From: Impex Holidays Maldives / Hasan [mailto:hasan@impex.com.mv]
Sent: Wednesday, October 24, 2001 4:16 PM
To: php-general@lists.php.net
Subject: [PHP] OnUNload Scripts
Hi everyone,
I can use javascripts onunload to run PHP file with a new window.
Is there anyway i can run PHP script file on ONUNLOAD with out opening a new
window ( in the back ground).
Any one's help will be greatly appreciated.
Best regards,
Hasan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net