Re: Sending data via POST

From: Date: Fri, 11 Mar 2005 21:18:58 +0000
Subject: Re: Sending data via POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-210554@lists.php.net to get a copy of this message
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

« previous php.general (#210554) next »