note 71413 deleted from function.dirname by bjori
| From: | bjori@php.net | Date: | Mon, 25 Dec 2006 19:55:56 +0000 |
| Subject: | note 71413 deleted from function.dirname by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120904@lists.php.net to get a copy of this message | ||
Note Submitter: dabbaking [at] gmail [dot] com
----
You can get the relative path a simpler way:
<?php
echo dirname($_SERVER["REQUEST_URI"]);
?>
Does the same thing; less code.