Posted by Stefan Rybacki on 03/23/06 04:15
-----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.
Regards
Stefan
> dave
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
iD8DBQFEIgS8yeCLzp/JKjARAoxbAJ4lfUzA1R0wVYp1UWEG4pi1A8K7FQCeLgqN
9jvKjbnz+fAU3ere9tGNAb8=
=m1D5
-----END PGP SIGNATURE-----
[Back to original message]
|