2009/5/20 Felix Siglreithmaier <felixsigl@xxxxxxxxx>: > 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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php