note 57633 deleted from function.basename by nlopess
| From: | nlopess@php.net | Date: | Sun, 09 Oct 2005 16:53:26 +0000 |
| Subject: | note 57633 deleted from function.basename by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-96754@lists.php.net to get a copy of this message | ||
Note Submitter: submit(AT)flexiwebhost.com
----
with regards to the comment from abcentee at gmail one_dot com
You are mistaken as the example states
<?php
$path = "/home/httpd/html/index.php";
$file = basename($path);
?>
will infact result in index.php