RE: [PHP] formatting a filename
| From: | Jay Blanchard | Date: | Thu, 05 Sep 2002 14:03:24 +0000 |
| Subject: | RE: [PHP] formatting a filename | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115311@lists.php.net to get a copy of this message | ||
[snip]
i want to format the filename of an uploaded file as follows :-
-- replace blankspace with "_"
-- remove any illegal characters.
Which string functions should I use to do this?
[/snip]
http://www.php.net/manual/en/function.eregi-replace.php
HTH!
Jay