note 10240 modified in copy by ronabop
| From: | ronabop@php.net | Date: | Wed, 03 Jan 2001 07:18:43 +0000 |
| Subject: | note 10240 modified in copy by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9312@lists.php.net to get a copy of this message | ||
a file field from a form aka
<input type="file" name="myFile">
Gives you for bits of information pertaining to the file being copied over that you can check for in
php.
$myFile_size, $myfile_name, $myfile_type, $myfile_?
Can't remember that last one.. but there are four.
With those you can verify file types before they write to the filesystem.
Very useful to know.
http://www.php.net/manual/function.copy.php