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" <[EMAIL PROTECTED]>
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 (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to