Re: [PHP] cURL cookies

2006-04-26 Thread Eric Butera
On 4/25/06, Richard Lynch [EMAIL PROTECTED] wrote:Sounds to me like we have different versions of cURL and yours is better. :-) Mine phpinfo() curl section has: libcurl/7.15.3 OpenSSL/0.9.7d zlib/1.2.1 which would seem to be the most current version... Or, perhaps, the order in which you

Re: [PHP] cURL cookies

2006-04-25 Thread Richard Lynch
On Sat, April 22, 2006 3:12 am, Peter Hoskin wrote: I'm trying to produce an sms sending script, however having problems with curl and storing cookies. The login page works fine, however the second http request returns a login page rather than authenticated content. Additionally, in the

Re: [PHP] cURL cookies

2006-04-25 Thread Eric Butera
On 4/25/06, Richard Lynch [EMAIL PROTECTED] wrote:Oh, and here's the REAL problem: If you use CURLOPT_HEADER, 1, then, like, for some reason beyond my ken, the COOKIEJAR/COOOKIEFILE stuff just plain doesn't get done. This really sucks if you need *other* headers and want curl to manage the

Re: [PHP] cURL cookies

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 11:50 am, Eric Butera wrote: On 4/25/06, Richard Lynch [EMAIL PROTECTED] wrote:Oh, and here's the REAL problem: If you use CURLOPT_HEADER, 1, then, like, for some reason beyond my ken, the COOKIEJAR/COOOKIEFILE stuff just plain doesn't get done. On an application I

[PHP] cURL cookies

2006-04-22 Thread Peter Hoskin
Hi, I'm trying to produce an sms sending script, however having problems with curl and storing cookies. The login page works fine, however the second http request returns a login page rather than authenticated content. Additionally, in the headers a different cookie value for JSESSIONID is set.

[PHP] Curl cookies

2004-05-09 Thread Jason Morehouse
Has anyone tried using curl to fetch a web page and cookies? ? $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL,

Re: [PHP] Curl cookies

2004-05-09 Thread Curt Zirzow
* Thus wrote Jason Morehouse ([EMAIL PROTECTED]): Has anyone tried using curl to fetch a web page and cookies? ? $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, 'http://www.php.net'); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch,