By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,688 Members | 1,911 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,688 IT Pros & Developers. It's quick & easy.

Can PHP detect page load or image load?

P: 14
I know this can be done with JavaScript, but can PHP detect when a page finishes loading? Once it has confirmed the page is loaded, it would execute an event.

What about detecting when an image has finished loading? Is that possible?

Thanks in advance.
Apr 11 '10 #1
Share this Question
Share on Google+
2 Replies


Dormilich
Expert Mod 5K+
P: 8,639
a) not that I know. maybe you can detect, whether there’s no transmission anymore (the file may be locked while in use).
b) events (in the common sense) have nothing to do with the server
c) cf. a)
Apr 11 '10 #2

P: 14
Thanks, Dormilich. It didn't seem like it was possible after thoroughly researching this for some time now on the internet.
Apr 11 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.