note 10240 added to copy
| From: | john at petbrain dot com | Date: | Wed, 20 Dec 2000 15:29:38 +0000 |
| Subject: | note 10240 added to copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8955@lists.php.net to get a copy of this message | ||
<p>a file field from a form aka
<hr>
<pre>
<input type="file" name="myFile">
</pre>
<hr>
<p>Gives you for bits of information pertaining to the file being copied over that you can
check for in php.
<p>
$myFile_size, $myfile_name, $myfile_type, $myfile_?
<p>
Can't remember that last one.. but there are four.
<p> With those you can verify file types before they write to the filesystem.
<p>
Very useful to know.
http://www.php.net/manual/function.copy.php