If you want to use the relative path to a script you can use the require() directive to include the contents to the php file:


CODE:
<?php
require(dirname(__FILE__)."/path/relative/file_to_include.php");
?>