From: "Daniel Clark" <[EMAIL PROTECTED]>

> > Does anyone know a quick way to find the full path on a shared hosting
> > plan to use in an include file?
>
> What about:
>
> $_SERER['PATH_TRANSLATED']

If you note my message from yesterday, I was having some trouble with this
variable on certain configurations. You may want to use
$_SERVER['SCRIPT_FILENAME'] which will have the same value and seems to be
present in more cases (or just test for both).

---John Holmes...

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

Reply via email to