Posted by John Nichel on 10/21/38 11:10
Todd Cary wrote:
> Currently I send data to another page by using
>
> header("Location: http://" . |$_SERVER['HTTP_HOST'] .|
> | dirname($_SERVER['PHP_SELF']) . |
> | "/" . $relative_url . |
> | "?" . $my_data);|
> ||
> ||My client would like the data passed via a POST rather than in the URL.
>
> Can this be done and if so, how?
>
> ||Many thanks....
>
> Todd
> ||
Yes, it can be done as a 'GET' as you have above. It's been awhile, but
we sent data via post by using sockets. However, this was before cURL
was a viable option, so you may want to look into that....
http://us4.php.net/curl
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
[Back to original message]
|