note 70367 deleted from function.pathinfo by bobby
| From: | bobby@php.net | Date: | Fri, 13 Oct 2006 15:12:33 +0000 |
| Subject: | note 70367 deleted from function.pathinfo by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118498@lists.php.net to get a copy of this message | ||
Note Submitter: goulvench AT gmail DOT com
----
When using relative URLs with pathinfo, the result will be a complete mess should there be a
"/" somewhere unexpected.
/index.php?id=456/blah_blah_blah will return
dirname => /index.php?id=456
filename => blah_blah_blah
Completely unusable, since I'm dealing with both relative and absolute URLs. Too bad...