class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Hi I just downloaded the class.upload and wanted to know if there is a way get the id of multiple uploads. Im trying to upload many images and want to set id for each image and give each image a new name witch is the id: LIKE THIS: <form id="uploadForm" name="uploadForm" method="post" action="upload.php" enctype="multipart/form-data"> <input type="hidden" name="action" value="multiple" /> <input type="file" size="32" id="id-12-41" name="my_field[]" value="" /> <input type="file" size="32" id="id-11-61" name="my_field[]" value="" /> <input type="file" size="32" id="id-2-61" name="my_field[]" value="" /> <input type="submit" name="submit" value="Upload" class="buttonUpload"/> </form> So when upload.php builds the array I would also like to have the id!Reply
I just downloaded the class.upload and wanted to know if there is a way get the id of multiple uploads.
Im trying to upload many images and want to set id for each image and give each image a new name witch is the id:
LIKE THIS:
<form id="uploadForm" name="uploadForm" method="post" action="upload.php" enctype="multipart/form-data">
<input type="hidden" name="action" value="multiple" />
<input type="file" size="32" id="id-12-41" name="my_field[]" value="" />
<input type="file" size="32" id="id-11-61" name="my_field[]" value="" />
<input type="file" size="32" id="id-2-61" name="my_field[]" value="" />
<input type="submit" name="submit" value="Upload" class="buttonUpload"/>
</form>
So when upload.php builds the array I would also like to have the id!