reading all html files from outside the document tree
long story short, the site I'm helping out has a webtraffic script but the host has it outside the document tree and will not move it
now I can get around it by using
<?php include("../webstats/index.html"); ?>
and this will take me to the main page, but of course all links and pages are broken,
as far as I know could I write some code to parse the HTML first?
I'm guessing I could just add the appropriate
../webstats/
and all would be okay, since I'm doing this from the webroot