cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: How to know the FOLOWLOCATION redirected URL :)

From: Cortina Love <contact_at_livegirlslive.com>
Date: Wed, 16 Nov 2005 13:01:45 +0100

On 11/16/05, Snt <8322641_at_gmail.com> wrote:
>
> No, it doesn't work.
> $info = curl_getinfo ($ch, CURLINFO_EFFECTIVE_URL);
>
> does not work...
>
> The url I am using is:
>
> http://www.nscash.com/mpa2/random.php?s=2&id=104205
>
> it redirects to:
>
> http://www.nsgalleries.com/hosted1/ns/gals/dasha3/index.php?id=104205
> Best Regards,
> Cortina Love
>
> On 11/16/05, Broekhuis,Robert R. <BROEKHRR_at_airproducts.com> wrote:
> >
> > If I understand your question correctly, I think you need something
> > like:
> > $newurl=curl_getinfo($ch,CURLINFO_EFFECTIVE_URL);
> > Rob
> >
> > ------------------------------
> > *From:* curl-and-php-bounces_at_cool.haxx.se [mailto:curl-and-php-bounces_at_cool.haxx.se]
> > *On Behalf Of *Cortina Love
> > *Sent:* Wednesday, November 16, 2005 4:28 AM
> > *To:* curl-and-php_at_cool.haxx.se
> > *Subject:* How to know the FOLOWLOCATION redirected URL :)
> >
> > Hi!
> > I was wondering if it is possible to know the FOLOWLOCATION redirected
> > URL in PHP.
> > Best Regards,
> > Cortina Love
> >
>
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2005-11-16