RE: [PHP] file upload
| From: | Mike | Date: | Mon, 04 Apr 2005 14:29:28 +0000 |
| Subject: | RE: [PHP] file upload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-212182@lists.php.net to get a copy of this message | ||
> How to check if a same name file already exists in a upload
> directory when uploading new file?
>
Use the file_exists() function (oddly named, I know).
http://us4.php.net/manual/en/function.file-exists.php
-M