note 34420 added to features.file-upload
| From: | user@php.net | Date: | Sat, 26 Jul 2003 17:16:04 +0000 |
| Subject: | note 34420 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52714@lists.php.net to get a copy of this message | ||
To add an example to the bart at combodata dot nl's note:
When you're using this type of form:
<form name="" method="post" action="dostuff.php"
enctype="multipart/form-data" >
<input type="file" name="dat[foto]" />
<input type="file" name="dat[banner]" />
<input type="file" name="dat[pdf]" />
</form>
You can refer to the uploaded files this way:
$_FILES["dat"]["tmp_name"]["foto"]
name: $_FILES["dat"]["name"]["foto"]
size: $_FILES["dat"]["tmp_name"]["foto"]
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34420
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34420&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34420&report=yes