php & javascript

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.....


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-10-2003
Nicolas Mainczyk
 
Posts: n/a
Default php & javascript

Hi,

I would like to call a PHP function from a Javascript 'onunload' command.

Is it possible ?
Nicky..



Reply With Quote
  #2 (permalink)  
Old 07-10-2003
Sebestyén Dénes
 
Posts: n/a
Default Re: php & javascript

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..
>
>
>



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0