Re: OnUNload Scripts
| From: | _lallous | Date: | Wed, 24 Oct 2001 14:49:20 +0000 |
| Subject: | Re: OnUNload Scripts | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72099@lists.php.net to get a copy of this message | ||
This can be done...but what if the user closes the whole browser?
the frame won't work cause it will also be closed i guess!
The popup window will assure that in all cases it will be poped up.
"Kodrik" <kodrik@zc8.com> wrote in message
news:0110240140010F.01982@cm166.52.234.24.lvcm.com...
> > >You could open a new window, give focus to the current window, and in
the
> > >new window, have it close itself after it's finished processing.
>
> An invisible frame is the easiest:
> <frame rows="100%, *>
> <framset name='main' src='src.php'>
> <frameset name='invisibleframe' src='background.php'>
> </frameset>
>
> then javascript can send orders to php through the invisible frame.
>
> Flash can also talk to php without reloading which allows for some cool
stuff.
> Finally, Java is the hardest solution but still a solution
>
>
>
>
> > >-----Original Message-----
> >
> > From: Impex Holidays Maldives / Hasan [mailto:hasan@impex.com.mv]
> >
> > >Sent: Wednesday, October 24, 2001 4:16 PM
> > >To: php-general@lists.php.net
> > >Subject: [PHP] OnUNload Scripts
> > >
> > >
> > >Hi everyone,
> > >
> > >I can use javascripts onunload to run PHP file with a new window.
> > >Is there anyway i can run PHP script file on ONUNLOAD with out opening
a
> > > new window ( in the back ground).
> > >
> > >Any one's help will be greatly appreciated.
> > >
> > >Best regards,
> > >Hasan
> > >
> > >
> > >
> > >--
> > >PHP General Mailing List (http://www.php.net/)
> > >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > >For additional commands, e-mail: php-general-help@lists.php.net
> > >To contact the list administrators, e-mail:
php-list-admin@lists.php.net