note 54040 added to function.ltrim
| From: | publicmarcyescom at osu1 dot php dot net | Date: | Tue, 21 Jun 2005 21:27:18 +0000 |
| Subject: | note 54040 added to function.ltrim | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90764@lists.php.net to get a copy of this message | ||
thanks Draugluin IZZAT bigfoot DIZZOT com for your method, but a lot of people don't seem to
take into account that filenames can have periods in them also...
for example: h.a.p.p.y.jpg is completely valid, so an easier way to find an extension and that seems
to work with everything I have tested is:
----
Manual Page -- http://www.php.net/manual/en/function.ltrim.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54040
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54040&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54040&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54040&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54040&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54040&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54040&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54040&report=yes
Search -- http://master.php.net/manage/user-notes.php