I can't think of a way to do it in the page itself... Unfortunately (there could be a way, I just can't think of it - frazzled after a day of work), but if you're using forms on your page, then set the values of some hidden form elements to the JS variables you want to use, and pass them along. You could have the page refresh itself to give you the variables, too. I'm sure there's a better way, though. Good luck, -- Chris Garaffa #!/usr/local/lib/php $contact_info["Name"] = "Chris Garaffa"; $contact_info["Email"] = "[EMAIL PROTECTED]"; $contact_info["Work"] = "[EMAIL PROTECTED]"; $contact_info["cell"] = "203.803.9066";
"Seppo Laukkanen" (from <[EMAIL PROTECTED]>) wrote on 7/17/02 3:06 PM: > 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