Can PHP detect page load or image load?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tarek01
    New Member
    • Feb 2010
    • 14

    Can PHP detect page load or image load?

    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.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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)

    Comment

    • tarek01
      New Member
      • Feb 2010
      • 14

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

      Comment

      Working...