Uploading Multiple Image Files

They have: 40 posts

Joined: Oct 2001

Hi,

I would like to add some code to a script, which will allow me to upload up to 6 images, as well as submitting standard form input to a file. Actually, I could either use a standalone script for uploading, or do it on the one form. I have tried a few scripts available at the cgi resource index, but can't seem to get any of them to work.

Is this easy?
Which is better? Standalone or on one form?
Does anyone have scripts that do this?
Other recommendations?

As usual,

Thanks

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Which language? Does it have to be CGI/Perl?

They have: 40 posts

Joined: Oct 2001

Perl on a unix server. Yes. It does have to be perl...What other languages were you thinking? PHP?

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Yes, PHP. Perl is not exactly my strong point.

I'm not sure if I have ever handled file uploading with Perl.

They have: 40 posts

Joined: Oct 2001

OK. So this means you can do it with PHP? You have a script? If so, post it! They tell me PHP is fairly easy to pick up, and as my mother used to say, it might be good for my character. I mean, if I can do it with php, (and I'm pretty sure the server handles php), then I'm happy to learn.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.