Is your common script in the server root? If so then you can use something like this in the file:

define('WWWROOT', basename(__FILE__));

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to