[thelist] Submitting Request.ServerVariables("REQUEST_METHOD") in the URL

Rodrigo Fonseca lists at vega.eti.br
Sat Oct 4 14:12:37 CDT 2003


Simon Willison wrote:
> Or the equivalent with HttpClient:
> 
> $result = HttpClient::quickPost('http://www.domain_here.com/', array(
>     'var1' => 'value',
>     'var2' => 'value2,
>     'var3' => 'test'
> ));

<snip />

> $client->referer = 'http://www.referer_page_here';

<snip />

> I've always found cURL a bit verbose for my tastes.

Yes, I aggree. I'm gonna try HttpClient myself.
Curl is good and reliable and I've been using it for quite some
time but a simpler way to do it is always welcome.
My main concern is about error handling, gonna check if HttpClient
has it built-in.

Thanks for the tip!

[]'s

	Rodrigo Fonseca.



More information about the thelist mailing list