note 93947 added to function.is-link
| From: | LGB at osu1 dot php dot net | Date: | Thu, 08 Oct 2009 08:51:59 +0000 |
| Subject: | note 93947 added to function.is-link | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161496@lists.php.net to get a copy of this message | ||
I have the experience that is_link("/tmp/test/") failed, but
is_link("/tmp/test") is not, which is may be the expected behaviour, but it's quite
annoying, since I have path names stored in config files, and sometimes they are with "/"
at the end. So now I always rtrim() the "/" from the filename before I test them ...
----
Server IP: 92.43.200.200
Probable Submitter: 213.163.0.181
----
Manual Page -- http://www.php.net/manual/en/function.is-link.php
Edit -- https://master.php.net/note/edit/93947
Del: integrated -- https://master.php.net/note/delete/93947/integrated
Del: useless -- https://master.php.net/note/delete/93947/useless
Del: bad code -- https://master.php.net/note/delete/93947/bad+code
Del: spam -- https://master.php.net/note/delete/93947/spam
Del: non-english -- https://master.php.net/note/delete/93947/non-english
Del: in docs -- https://master.php.net/note/delete/93947/in+docs
Del: other reasons-- https://master.php.net/note/delete/93947
Reject -- https://master.php.net/note/reject/93947
Search -- https://master.php.net/manage/user-notes.php