note 37165 rejected from features.file-upload by didou

From: Date: Wed, 05 Nov 2003 16:03:28 +0000
Subject: note 37165 rejected from features.file-upload by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59945@lists.php.net to get a copy of this message
Note Submitter: kw_nelson_ng@yahoo.com ---- 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.

« previous php.notes (#59945) next »