note 38662 added to function.dirname

From: Date: Thu, 01 Jan 2004 23:41:25 +0000
Subject: note 38662 added to function.dirname
Groups: php.notes 
Request: Send a blank email to php-notes+get-62763@lists.php.net to get a copy of this message
You can use it to get parent directory: dirname(dirname(__FILE__)) ...include a file relative to file path: include(dirname(__FILE__) . '/path/relative/file_to_include.php'); ..etc. ---- Manual Page -- http://www.php.net/manual/en/function.dirname.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38662 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38662&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38662&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62763) next »