Re[2]: [PHP] is it possible to communicate javascript and php?
| From: | Max A. Derkachev | Date: | Mon, 22 Jan 2001 10:25:17 +0000 |
| Subject: | Re[2]: [PHP] is it possible to communicate javascript and php? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35982@lists.php.net to get a copy of this message | ||
Hello Alex,
Sunday, January 21, 2001, 4:20:53 AM, you wrote:
AB> no without submitting information to the server with get or post.
AB> for example, if a bit of javascript you have comes up with some value, the
AB> only way you can get it to the server is to put it in a get and send the
AB> user to that url:
AB> http://www.mysite.com/index.php?your_js_var=your_value
You could also post WDDX packets generated by JS, if you intend to
operate with large and complex data. Sometimes it's much more
convenient. But, of course, using POST, cause PHP haven't learned mind
reading yet :)
--
Best regards,
Max A. Derkachev mailto:kot@books.ru
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Russia