This is a discussion on php & javascript within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi, I would like to call a PHP function from a Javascript 'onunload' command. Is it possible ? Nicky.....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi.
Just if you call another php page that uses that function. This is because php is server-side, and javascript is client-side scripting language. I suggest to open a window at the onUnload event with an url that refers to the php with that function. "Nicolas Mainczyk" <nmainczyk@hotmail.com> wrote in message news:bejccr$kj9$1@ngspool-d02.news.aol.com... > Hi, > > I would like to call a PHP function from a Javascript 'onunload' command. > > Is it possible ? > Nicky.. > > > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|