Posted by d on 03/23/06 19:32
"Stefan Rybacki" <stefan.rybacki@gmx.net> wrote in message
news:48eelrFjqkv9U2@individual.net...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> d schrieb:
>>...
>> To have stuff working in the background, it's a good idea to use iframes
>> and/or ajax to perform the asynchronous request. Think about having a
>> hidden iframe that can contain PHP scripts. Your javascript can just
>> switch
>> PHP pages in and out of that iframe, and the PHP pages can spit out
>> javascript. You can even have forms submitting to it (get or post -
>> doesn't
>> matter). Hey presto - two-way communication between browser and PHP
>> without
>> refreshing the page.
>>
>
> This is not a PHP solution. It is not possible to have background tasks
> on the client side controled by *server-side* PHP.
Yes it is :) PHP controlling javascript is trivial. Javascript controlling
PHP is just as trivial.
> Regards
> Stefan
>
>> dave
>>
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (MingW32)
>
> iD8DBQFEIgS8yeCLzp/JKjARAoxbAJ4lfUzA1R0wVYp1UWEG4pi1A8K7FQCeLgqN
> 9jvKjbnz+fAU3ere9tGNAb8=
> =m1D5
> -----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|