For now, I am doing this...
<?php
// includeTest.php
$path = "Directory1/Directory2/";
include($path . "test.php");
?>
// test.php
<img src=$path . "Flash.jpg" />
This works for a certain extend... I don't really like this idea much though because the base path for the test.php becomes the directory of the includeTest.php...
So, what happens is that the Flash movie that's sitting in $path is looking the images to load(gallery sort of app) from the includeTest.php directory which does not exist in there... 🙁