RE: [PHP] POST Format
| From: | Demitrious S. Kelly | Date: | Thu, 30 May 2002 03:01:00 +0000 |
| Subject: | RE: [PHP] POST Format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99839@lists.php.net to get a copy of this message | ||
No you can do
Index.php?name=apokalyptik&email=apokalyptik@apokalyptik.com&subscribe=n
o
&&
<?php
echo '<pre>';
echo 'NAME: '.$name.chr(10);
echo 'EMAIL: '.$email.chr(10);
echo 'SUBSCRIBE: '.$subscribe;
echo '</pre>';
?>
-----Original Message-----
From: Jonathan Rosenberg [mailto:jr@tabbysplace.org]
Sent: Wednesday, May 29, 2002 7:58 PM
To: PHP General
Subject: [PHP] POST Format
This is not entirely a PHP question & I should know the answer,
but ...
I'm trying to figure out how to correct the proper format for
simulating the data sent in a POST. I believe the basic syntax
is
name1=value1&name2=value2 ...
Is this correct?
If so, how are the value's encoded? Is each value surrounded by
""? Do I need to urlencode() each value (without the surrounding
"")?
Any help appreciated.
--
JR
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php