Hi
I'm trying to create an anonymizer script using php.
When i'm rewriting the urls to point to my anonymizer php script and get the file location from there, the rewriting of framesets doesn't work since the browser is in charge to get the files followed in the <frameset src=...> tag.
OK, i can get these files myself but how do i need to modify the frameset stuff?
As example this site:
<html>
<head>
<title>piranha</title>
</head>
<frameset border="0" frameborder="0" framespacing="0" rows="100%">
<frame src="www/sites/menu/menu.htm" frameborder="0" framespacing="0" scrolling=
"auto">
</frameset>
</html>
I'm able to rewrite the <frame src="www/sites/menu/menu.htm" to <frame src="http://mysite/anon.php?site=http://www.location.php/www/sites/menu/menu.htm" but i'm not able to rewrite the other links that will be in menu.htm.
Can anybody possibly tell me, how i'm able to deal with these links and sites in a html respectable way?
How do i have to modify my content to be able to rewrite all the links in the frameset files and glue the html page back together again?
Thanks for your help
Chris