Hello!
I'm using this to upload images
<form enctype="multipart/form-data" action="upload_processor.php" method="POST">
<table>
<tr>
<td><input type="hidden" name="MAX_FILE_SIZE" value="30000">
Upload this file: <input name="userfile" type="file"> <p>
<input type="submit" value="Upload File"></td> </p>
</tr>
</table>
</form>
$uploaddir = '/tmp/';
$uploadfile = $uploaddir. $_FILES['userfile']['name'];
if(move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
echo 'Upload file success!';
It works fine but I'd like to be able to allow users to browse to and upload multiple images at once. I imagine this may need some client side scripting like Javascript. Any ideas would be appreciated.
Thanks! Chris