Hi,
is there a way to check if a path is within the document_root?
and is there a function to check if a path is absolute or not?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2009/5/20 Felix Siglreithmaier felixs...@gmail.com:
is there a way to check if a path is within the document_root?
Compare it to $_SERVER['DOCUMENT_ROOT'].
and is there a function to check if a path is absolute or not?
http://php.net/realpath
-Stuart
--
http://stut.net/
--
PHP General
2 matches
Mail list logo