note 33416 deleted from features.file-upload by didou

From: Date: Wed, 17 Sep 2003 11:53:58 +0000
Subject: note 33416 deleted from features.file-upload by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56625@lists.php.net to get a copy of this message
Note Submitter: bart@combodata.nl ---- 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> The ( var_dump'ed ) $_FILES array will come out threedimensional like this: array(1) { ["dat"]=> array(5) { ["name"]=> array(3) { ["foto"]=> string(0) "" ["banner"]=> string(0) "" ["pdf"]=> string(0) "" } ["type"]=> array(3) { ["foto"]=> string(0) "" ["banner"]=> string(0) "" ["pdf"]=> string(0) "" } ["tmp_name"]=> array(3) { ["foto"]=> string(0) "" ["banner"]=> string(0) "" ["pdf"]=> string(0) "" } ["error"]=> array(3) { ["foto"]=> int(4) ["banner"]=> int(4) ["pdf"]=> int(4) } ["size"]=> array(3) { ["foto"]=> int(0) ["banner"]=> int(0) ["pdf"]=> int(0) } } }

« previous php.notes (#56625) next »