Oh I see. Well I thought that, but I wasn't sure.

Ok I will do this way. No I have an direction :)

Thanks a lot.


-----Original Message-----
From: Mike Migurski [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 23. Oktober 2003 03:11
To: BQ777
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: [PHP] PHP & JavaScript

>Have somebody any idea how I could do something like that?

<snip javascript and PHP>

You're somewhat out of luck, as the chain of events in your typical HTTP
transaction looks something like this...

        ---->[time]--------------------------------->
        client request received from browser
         |
         +-> PHP code executed on server
              |
              +-> text output to webserver (including javascript source)
                   |
                   +-> [drawing of cloud representing internet]
                        |
                        +-> text input to web browser on client side
                             |
                             +-> javascript executed by client
        ---->[time]--------------------------------->

...The only way to have the javascript affect the PHP, is to make a
subsequent request /back/ to the server after the javascript has started
executing. You can, for example, package the screen size into a GET
variable appended to an image request.

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to