curl-and-php
Re: session
From: Cenk Uysal <cenk_uysal_at_yahoo.com>
Date: Tue, 4 Feb 2003 05:47:46 -0800 (PST)
Date: Tue, 4 Feb 2003 05:47:46 -0800 (PST)
i found out the problem.
u must set the useragent value before the connection.
curl_setopt ($ct, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE
5.01; Windows NT 5.0)");
it's interesting that it gives no error, no output if u dont set this
value. i returns only an empty buffer.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-02-04