Re: Sending data via POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux