CURL - how to get URL of returned page?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a way to get the URL of the page that is returned when using Curl? 
If I look at CURLINFO_EFFECTIVE_URL value from the return of curlget_info(), 
all I see is the URL I requested, not the one that is returned.

I am trying to write an URL checking script against a site that may return a 
page other than the one you requested without it being seen as a 302 
redirect status.  Even though my situation is somewhat out of the norm, I 
would imagine there are cases where people would want to see the URL with a 
302 status.

Am I missing something?  Does anyone have any suggestions for me?

Thanks,
Marianne 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux