note 82071 deleted from function.dirname by nlopess

From: Date: Wed, 26 Mar 2008 20:31:59 +0000
Subject: note 82071 deleted from function.dirname by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137608@lists.php.net to get a copy of this message
Note Submitter: ts at dev dot websafe dot pl ---- <?php header("Content-type: text/plain"); echo PHP_OS . ', PHP ' . PHP_VERSION ."\n"; // echo __FILE__ . "\n"; echo dirname(__FILE__) . "\n"; echo basename(__FILE__) . "\n"; echo basename(dirname(__FILE__)) . "\n"; ?> The result: Linux, PHP 5.2.3 /var/www/htdocs/test/basename-dirname.php /var/www/htdocs/test basename-dirname.php test

« previous php.notes (#137608) next »