Re: problem with HTTP_Client::post

From: Date: Fri, 28 Oct 2005 22:29:12 +0000
Subject: Re: problem with HTTP_Client::post
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21688@lists.php.net to get a copy of this message
Hey Kato, > I run myphpscript included the Client.php page. > when I call HTTP_Client::post I get this error Call to a member function > on a non-object in > HTTP/Client.php on line 214. HTTP_Client::post won't work since post() is not a static function. You have to create an HTTP_Client object and then use it. $httpClient = new HTTP_Client(); $httpClient->post(...); --Leo

« previous php.pear.general (#21688) next »