Re: how to access javascipt variables in PHP
| From: | 1LT John W. Holmes | Date: | Wed, 17 Jul 2002 21:00:10 +0000 |
| Subject: | Re: how to access javascipt variables in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108164@lists.php.net to get a copy of this message | ||
You have to submit the variables back to PHP by refreshing/requesting
another page. Once javascript finds the values..PHP is done executing.
So have the values put into hidden elements of a form that's submitted, or
tacked on to the end of a URL and redirected to another page...
---John Holmes...
----- Original Message -----
From: "Seppo Laukkanen" <seppo.laukkanen@wintec.fi>
To: <php-general@lists.php.net>
Sent: Wednesday, July 17, 2002 3:06 PM
Subject: [PHP] how to access javascipt variables in PHP
> Can anybody help?
>
> I have javascript code to find out browsers width and height, but they
> are stored in javascript variables. How can I access them from PHP? Or
> is there a method to do same in PHP straightly?
>
> Thanks,
> Seppo
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>