[PHP] Re: help curl followlocation

2007-07-05 Thread Gowranga
TPHEADER, array("Pragma: ")); $result=curl_exec($curl); curl_close($curl); echo $result; ?> The permissions set on /tmp/cookie file are 0757. However, when I furnish credential details, I get error as "Please enable cookies on your browser". Kindly help me understand how to set th

Re: [PHP] help curl followlocation

2007-06-27 Thread Gowranga
info(). Confirmed I have only one php.ini. Thanks -gowranga -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help curl followlocation

2007-06-27 Thread Gowranga
settings are Off in my php.ini file. Kindly let me know what other setting needs to be checked. I wonder if this is due to a firewall setting, though, I do not have any problems when I browse google site directly. -gowranga -- This message has been scanned for viruses and dangerous content b

[PHP] Re: help curl followlocation

2007-06-27 Thread Gowranga
); curl_setopt($curl, CURLOPT_COOKIE, $cookies); $content=curl_exec($curl); echo $content; curl_close($curl); ?> I have tried with higher versions of openssl, zlib and curl but get nothing better. I am able to retrieve Location information by using preg_match on the output headers, but I a