On Fri, Nov 22, 2013 at 05:03:03PM +0800, Badri Narayanan wrote: > Hi, > I'm trying to grab the URL that my CPE is being re-directed to from the server > using the function > "CURLINFO_REDIRECTED_URL". However it returns a null value for me. Please help > me out.
Can you show us the headers returned by the server? Note that this option only returns URLs due to HTTP redirects, not HTML or JavaScript redirects. >>> Dan ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html