Re: PHP Header to stimulate a POST method or POST string????
| From: | Scott Fletcher | Date: | Thu, 19 Feb 2004 14:12:53 +0000 |
| Subject: | Re: PHP Header to stimulate a POST method or POST string???? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178245@lists.php.net to get a copy of this message | ||
I still get this message with the class HTTP_Request (Pear).
--snip--
Warning: fsockopen() [function.fsockopen]: php_hostconnect: connect failed
in /home/website/emarket/www/zz_test_dir/Net/Socket.php on line 108
Warning: fsockopen() [function.fsockopen]: unable to connect to
216.109.118.68:80 in /home/website/emarket/www/zz_test_dir/Net/Socket.php on
line 108
--snip--
The script I put down are
--snip--
<?
include('Request.php');
$a = &new HTTP_Request('http://www.yahoo.com/');
$a->sendRequest();
echo $a->getResponseBody();
?>
--snip--
Scott F.
<daniel@electroteque.org> wrote in message
news:39926.203.15.102.65.1077170790.squirrel@www.electroteque.org...
> Firstly i luv the subject mwuahhaha, you may want to check out the pear
> class HTTP_Request , it'll do post and get sockets.