|
Posted by Steve on 04/02/07 18:58
| <?
| echo '<pre>' . $relativePath . '</pre>';
| ?>
|
| does it produce the correct path for that directory to your root?
and that's only IF you get relative.path.php to work as an
auto_prepend_file. otherwise, do as i have suggested and just plop the
script in php's include path. in that case, your debugging script would look
like:
<?
require_once 'relative.path.php';
echo '<pre>' . $relativePath . '</pre>';
?>
Navigation:
[Reply to this message]
|