note 24820 added to function.copy
| From: | fpaolini@php.net | Date: | Thu, 29 Aug 2002 08:16:59 +0000 |
| Subject: | note 24820 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35970@lists.php.net to get a copy of this message | ||
this may be useful when uploading files: it substitutes the spaces (whose are a little disturbing
because users like them but linux doesn't) with a '_':
$name=str_replace(chr(32),chr(95),$_FILES['file']['name']);
--
http://www.php.net/manual/en/function.copy.php
http://master.php.net/manage/user-notes.php?action=edit+24820
http://master.php.net/manage/user-notes.php?action=delete+24820
http://master.php.net/manage/user-notes.php?action=reject+24820