[thelist] POST data with PHP

noah noah at tookish.net
Wed Aug 11 22:05:49 CDT 2004


Hi Richard,

Richard Livsey wrote (11/08/2004 9:52 PM):

> I've looked at sending 30x headers and then redirecting with a Location 
> header, but as far as I can see from the specs these will/do not re-send 
> the POST data.
> Another alternative is to send the data on in the query string. But due 
> to the size of some of the forms this is out of the question (plus the 
> sites expect the data as a POST request).

I've tried transferring POST data unsuccessfully a couple of times. 
Although I've never made it work, it's supposedly possible using 
fsockopen().

Here are some links that might help to point you in the right direction:

<http://www.faqts.com/knowledge_base/view.phtml/aid/12039>

<http://php.net/manual/en/function.fsockopen.php>

Good luck.

Cheers,
Noah


More information about the thelist mailing list