Re: converting GET to POST
| From: | Chris Shiflett | Date: | Thu, 16 Oct 2003 21:12:30 +0000 |
| Subject: | Re: converting GET to POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166352@lists.php.net to get a copy of this message | ||
--- Kris Yates <kris@2binteractive.com> wrote:
> Currently, I am posting via GET to third party server as seen below:
>
> $item=urlencode($item);
> header("Location:
> https://www.fake.com/fake.php?item=$item");
>
> I want to reconfigure my header calls to POST instead of using GET
> for sending $item to third party server. Is this doable?
No, you can't force a remote Web client to send a POST request. Maybe this is
possible with JavaScript, but I hope not.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp