note 69739 added to function.basename
| From: | php-general at lists dot php dot net | Date: | Tue, 19 Sep 2006 06:28:00 +0000 |
| Subject: | note 69739 added to function.basename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117303@lists.php.net to get a copy of this message | ||
lazy lester is just confirming what icewind said.
And yes it is correct! unlike what the following comment after icewind says, as that example is the
same with the line order reversed! as poniestail at gmail dot com says.
But poniestail at gmail dot com missed the point that if the url is coming from a log file it will
not have its value in $_SERVER["QUERY_STRING"] or $_SERVER["SCRIPT_NAME"] but in
a LOG FILE or a DATABASE
----
Server IP: 66.163.161.117
Probable Submitter: 202.7.183.131 (proxied: 60.240.223.224)
----
Manual Page -- http://www.php.net/manual/en/function.basename.php
Edit -- https://master.php.net/note/edit/69739
Del: integrated -- https://master.php.net/note/delete/69739/integrated
Del: useless -- https://master.php.net/note/delete/69739/useless
Del: bad code -- https://master.php.net/note/delete/69739/bad+code
Del: spam -- https://master.php.net/note/delete/69739/spam
Del: non-english -- https://master.php.net/note/delete/69739/non-english
Del: in docs -- https://master.php.net/note/delete/69739/in+docs
Del: other reasons-- https://master.php.net/note/delete/69739
Reject -- https://master.php.net/note/reject/69739
Search -- https://master.php.net/manage/user-notes.php