curl-and-php
RE: problem while redirecting with curl to an https
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 7 May 2004 08:27:11 +0200 (CEST)
Date: Fri, 7 May 2004 08:27:11 +0200 (CEST)
On Thu, 6 May 2004, Lizet Peņa de Sola wrote:
> $header[]="Location: https://https://www.foo.com,*.*";
> curl_setopt ($ch, CURLOPT_HTTPHEADER, $header);
I think you need to stop this and go back to reading manuals before
proceeding.
The code above attemts to send a Location: header to the remote server you
requst the HTTPS page from. That has no effect what so ever.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-05-07