DougD wrote:

I have a page with a particular PHP section that takes quite a time to load.
Is there a way I can delay that script to run after everything else has
loaded. I suppose it may need to use Javascript????

You could use register_shutdown_function() to execute the code, providing you don't need any output sent to the browser. Do some testing as to whether PHP still waits for that function to finish or not, but I don't think it does.


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





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



Reply via email to