note 28338 added to function.pathinfo
| From: | sergey_at_work at hotmail dot com | Date: | Thu, 09 Jan 2003 21:02:50 +0000 |
| Subject: | note 28338 added to function.pathinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41926@lists.php.net to get a copy of this message | ||
Note this:
if you use $path_parts = ("/cd/"); and error_reporting(E_ALL)
you will get "Notice: Undefined index: extension in d:\www\test.php on line 7"
Use isset() function to correct this problem
--
http://www.php.net/manual/en/function.pathinfo.php
http://master.php.net/manage/user-notes.php?action=edit+28338
http://master.php.net/manage/user-notes.php?action=delete+28338
http://master.php.net/manage/user-notes.php?action=reject+28338