For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > September 2005 > Need simple Script for FileUploads Form









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Need simple Script for FileUploads Form
DarthBoBo

2005-09-21, 7:55 am

I'm not a CGI expert, I will admit.

But I've used some handy scripts (some paid for) to do basic forms and
message boards.

What I need for a project is something easy to configure, that will
allow visitors to upload FILES.

Here are questions about possiblities:

1 - Need to be a single page form to allow visitor to enter, name, age
and other basic stuff (about 12 text fields)

2 - On same form, needs to allow the UPLOAD of 4~6 Files.

3 - Can the script be told to ISOLATE file types (JPG) to help prevent
someone uploading exe or other files? As well as file size restiction
(total or per field) to prevent someone uploading 20MB junk files?
(Doubt that would happen) - but would need to allow up to 2~3mb total.

The files and text data then needs to be sent to an email address of
course.

Currently, I am opening a 2nd browser for the form. (rare for me) so
2 other items could help me out..

1 - tellings the browser how BIG to make the window.
2 - a CLOSE browser button for the 2nd window.

Could you steer me towards such scripts (prefer FREE as I'm doing this
for experince / fun / experimental)



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com