note 50748 deleted from ref.strings by nlopess
| From: | nlopess@php.net | Date: | Tue, 08 Mar 2005 20:23:01 +0000 |
| Subject: | note 50748 deleted from ref.strings by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-86132@lists.php.net to get a copy of this message | ||
Note Submitter: oacej5v0l3(at symbol)yahoo(chr(46))com
----
The code snippet provided by HOELEC2 is equivalent to the PHP dirname function
<?php
$var_string = "/home/username/www/index.php";
echo dirname($var_string);
?>