cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

Re: problem while redirecting with curl to an https

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 6 May 2004 09:02:14 +0200 (CEST)

On Wed, 5 May 2004, Lizet Peņa de Sola wrote:

> I'm trying to send a post request to a https uri with curl, everything works
> except that the browser never shows the new https url that I'm redirecting
> the browser to

I'm sorry, but you are saying that you request a page with curl and you
display it? Is your site HTTP or HTTPS? How are you redirecting the browser to
what https page?

> not the lock image on the status bar

If your site is HTTP only it shouldn't be there. If its HTTPS it should be
there. Not curl nor PHP can change that.

> the url that is shown is the one of the page making the request.

Of course. That is the page the browser is watching. It has no idea how you
get the HTML you send back to it. If you want it to change to a differerent
URL, you need to pass on the standard headers that makes it move.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-06

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET