note 8842 added to Handling file uploads

From: Date: Sun, 01 Oct 2000 02:33:52 +0000
Subject: note 8842 added to Handling file uploads
Groups: php.notes 
Request: Send a blank email to php-notes+get-5702@lists.php.net to get a copy of this message
i used <input type=file name="shots[]"> to send a variable number of screenshots to my page. it worked fine under php3, but under php4 it got screwed. instead of filling $userfile, $userfile_name, ... all those values were stored in the array $userfile[] with 3 entries per posted file. after recompiling php4 into apache the behaviour changed again - now i only get the temp-filename value into $userfile[] - losing all further info. http://www.php.net/manual/features.file-upload.php

« previous php.notes (#5702) next »