Re: php & javascript
| From: | Kevin Beckford | Date: | Tue, 13 Jun 2000 13:13:53 +0000 |
| Subject: | Re: php & javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1709@lists.php.net to get a copy of this message | ||
> How would you assign the value of a javascript variable to a php
> variable?
Not an easy or convient thing to do, but, in addition to the other responses,
you could use javascript to set a cookie, and then use php to read that cookie.
So javascript sets a cookie, which becomes a phpvariable from
$HTTP_COOKIE_VARS. That's one way.