note 37165 added to features.file-upload
| From: | kw_nelson_ng at yahoo dot com | Date: | Wed, 05 Nov 2003 15:50:23 +0000 |
| Subject: | note 37165 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59944@lists.php.net to get a copy of this message | ||
After read through many pages / comments on $_FILES for upload, does anyone ever try to fill in the
blank for $_FILES array? Like follows:
$_FILE['userfile']['name'] = 'd:/document/sample.html';
$_FILE['userfile']['size'] = filesize('d:/document/sample.html');
$_FILE['userfile']['tmp_name'] = 'f:/tmp/default.tmp';
$_FILE['userfile']['type'] = 'text/plain';
I try to upload the content of a directory but need to do it without user interaction. Yes! FTP
will do the job but still need to have user interaction.
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37165
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37165&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37165&report=yes
Search -- http://master.php.net/manage/user-notes.php