That's what I am using currently.
I have an index.php file in the main direcory containing this PHP code.
include("stats\stats.php");
Now, the stats.php file contains the following:
(Some text saying what information follows, then the following PHP code)
include("localhost_131076.html");
Now, the problem is, when you view index.php, it does this to the images:
http://localhost/localhost_131076-day.png
Not, what it needs to be, like it would be with SSI, which is:
http://localhost/stats/localhost_131076-day.png
Hope that explains my problem a bit clearer.
I don't mind using some built-in PHP function, somehow getting PHP and SSI to work in the same file, or even another method, just so long as it works 😃