Can cURL follow a link and figure out where it's at?

Status
Not open for further replies.

daddyo

New member
Mar 24, 2007
32
0
0
I want to use cURL to strip some affiliate links off a website, follow them, and then determine the resulting webpage.

If I strip out a link such as this:

All Clearance - Lenox

I want cURL to follow it and determine that it ends up as this

All Clearance - Lenox

Is there an easy way to figure out the URL of the ending page?

Thanks!


Daddyo
 


Status
Not open for further replies.