|
No it's possible ... in fact it's even easy to do it ...
in Javascript :
window.navigate("http://yourPHPScript.php");
and that will do ...
but in my case I'm doing it in the onBeforeUnload event. Since I call a other page while the browser is closing the PHP script never receive the info and create an empty record in my DB.
So i would need something that loops so the onbeforeUnload don't finish until the php script is done. Basically I need a fucntion that block Javascript execution until the new page isn't completly loaded
__________________
I have nothing to advertise ... yet.
|