I don't know if this is possible, but I have a PHP page that re-directs to another page. Now the link it redirects to is dynamic but is there anyway I can capture the source HTML of the link with PHP. What I mean is say I have this
header("Location: somepage.html"); Before I re-direct is there anyway I could get the HTML source of somepage.html. It doesn't have to be with PHP but if I can do it with that I would like to. I'm trying to search the HTML for content before I redirect the user that is why I need to do this. Thanks,