Hey sorry to ask for such a complicated piece of code but I've been trying for hours without any luck.
I need to loop through html code find all of the urls that start with http:// or https:// - parse them then replace the entire url with something like this: redirect.php?link=http://originallinkWeAreReplacing
this way I can replace all urls in the html code with my own php file that will redirect to the original urls that were there..
Can anyone help? I need it to work for ALL urls.. including style sheets, images, etc
thanks