RE: [PHP] post xml
| From: | John W. Holmes | Date: | Thu, 27 Feb 2003 17:16:09 +0000 |
| Subject: | RE: [PHP] post xml | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137426@lists.php.net to get a copy of this message | ||
> I am sending an xml request as part of the url using urlencode to
encode
> my
> xml. It doesnt work like that so the server that is receiving it
doesnt
> seem to like the data in the query string.
> However, if I send it from a form using the method post then it works
> fine.
> Is there a way to send it by method post but without having to use a
form?
> Thank you
Make sure you urlencode() the data before you tack it into the URL.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/