note 69034 added to function.dirname
| From: | TeeCee at osu1 dot php dot net | Date: | Mon, 21 Aug 2006 00:21:22 +0000 |
| Subject: | note 69034 added to function.dirname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116108@lists.php.net to get a copy of this message | ||
Obviously, what you have to do is use functions that are meant to work on URLs and not filesystem
paths. There is a big difference.
All this dirname hackery can be avoided if you just code a urldirname that finds the last / in the
file and does a suitable substring operation, but I'm currently too lazy to write the code.
----
Server IP: 85.116.0.130
Probable Submitter: 82.71.54.164
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.dirname.php
Edit -- https://master.php.net/note/edit/69034
Del: integrated -- https://master.php.net/note/delete/69034/integrated
Del: useless -- https://master.php.net/note/delete/69034/useless
Del: bad code -- https://master.php.net/note/delete/69034/bad+code
Del: spam -- https://master.php.net/note/delete/69034/spam
Del: non-english -- https://master.php.net/note/delete/69034/non-english
Del: in docs -- https://master.php.net/note/delete/69034/in+docs
Del: other reasons-- https://master.php.net/note/delete/69034
Reject -- https://master.php.net/note/reject/69034
Search -- https://master.php.net/manage/user-notes.php