Re: Execute a php page and don't wait for it to finish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A simple AJAX script would do the trick, no?  Or does the script which
was triggered by JS get aborted if that page is unloaded?

If javascript is unavailable you could trigger it through the <img> tag like so:

<img width='0' height='0' src="updater.php" alt="" />

Again, not sure if it will keep running if the caller is unloaded.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux