note 69897 deleted from function.dirname by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 19:03:22 +0000 |
| Subject: | note 69897 deleted from function.dirname by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142259@lists.php.net to get a copy of this message | ||
Note Submitter: parorrey at yahoo dot com
----
agreed fully to Tee Cee.
putting:
$array_uri = explode('/', $_SERVER['REQUEST_URI']);
$current_dir = $array_uri[sizeof($array_uri)-2];