I have a script that I want to use to strip different tags on a webpage and im using the file function in php to do this. however im having problems with webpages that redirects. How will I know the new page that I have to follow?
TIA,
Arch
Moderator: General Moderators
I'm not sure if i will be correct here but i dont think you can unless there are links (HTML) that you can capture the url...php_ghost wrote:Hi guys,
I have a script that I want to use to strip different tags on a webpage and im using the file function in php to do this. however im having problems with webpages that redirects. How will I know the new page that I have to follow?
TIA,
Arch
Code: Select all
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);