Jump to content

Multiple File Upload


Recommended Posts

Hi everoyne,

 

I need to create a multiple file upload which allowds a user to select 26 records and upload them all, the uploaded files however need to have a date generate, +7 days on each image if this makes sense?

So all images are uploaded and the dates are generated on the fly eg.

 

pic1.jpg 01/02/2010

pic2.jpg 08/02/2010

pic3.jpg 15/02/2010

 

Has anybody any idea on how to go about this?

Link to comment
https://forums.phpfreaks.com/topic/202132-multiple-file-upload/
Share on other sites

I have my upload working only it doesnt insert any date into my table, only uploads the images.

 

my transaction is...

 

$mulupl = new tNG_MImageUpload("", "KT_Upload9", "saucy_connection");
$mulupl->setPrimaryKey("id", "{rsmodel_pictures.id}");
$mulupl->setBaseFolder("model_pictures/");
$mulupl->setFolder("{id}");
$mulupl->setMaxSize(4000);
$mulupl->setMaxFiles(26);
$mulupl->setAllowedExtensions("bmp, jpg, jpeg, gif, png");

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.