fsockopen() and POST
| From: | Todd Cary | Date: | Fri, 29 Dec 2000 19:40:24 +0000 |
| Subject: | fsockopen() and POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32228@lists.php.net to get a copy of this message | ||
I am trying to send data via a socket and the POST method. I have no
problems with the GET, but the POST is not putting anything into the
$HTTP_POST_VARS array. Here is what I am sending:
POST http://209.204.172.138:80/hec/php/purchaseinfo.php
HTTP/1.0
Host: 209.204.172.137:80
Content-type: application/x-www-form-urlencoded
Content-length: 11
test=123456
Is there some glaring error??
Todd
--
Todd Cary
Ariste Software
todd@aristesoftware.com