Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2005
    Location
    Wasilla, Alaska
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    execute php with javascript?

    ok, i ahvent really taken the time, nor learned really ANY javascript, but, i was wondering if it would be possible to execute either an internal php script, or and external php script file using the javascript onUnload command in the body. I am trying to come up with another way to log people out, and i know php to do it, jsut want to use the js onunload command to execute it, if it is possible, if anyone knows how to do this, and could give me a simple basci script to start with i would appreciate it. If it isnt possible, thank you for your time, and i will look elsewhere.

    -Mindless-
    trying to revive an old site...

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i never seen this to be done satisfactorily. it's actually already been asked on the forum before, so if you search it should come up.
    *keep it simple (TM)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •