Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: PLEASE help with file uploads!
05-12-2004, 02:01 AM #1
- Join Date
- Sep 2003
- Thanked 0 Times in 0 Posts
PLEASE help with file uploads!
Man, I'm going through heck right now. I have a total of 5 upload slots on a single form. I would like for each to upload a file and save that file into a particular user-specified directory.
I went here:
But I soon found out that that was too broad and not descriptive enough for me to follow nor work into my preexisting script.
The script I'm making is for reviewing video games. The user selects what type of game it is(Example: Sonic, Mario) from a select list. Next the user enters the name of the game (text box). When I upload the image files (screenshots for the game being reviewed), I would like for them to go to $TYPE/$NAME (Example: Sonic/Sonic3) directory. That way all of the images will be sent to the same folder and be organized. BUT I have a total of five available slots for uploading images. Could you guys show me how to write a little script that accomplishes what I need. PLEASE, I'm begging of you.
I've started on this project not too long ago where a user can make a full professional review by just simply filling out a form. The CGI script then makes an .html file with the users input formatted in a perfect standard way. I have everything done ACCEPT for file uploads. PLEASE HELP!Sonic the Hedgehog!
05-12-2004, 05:13 AM #2
- Join Date
- Jun 2003
- Cottage Grove, Minnesota
- Thanked 1,095 Times in 1,086 Posts
Without knowing your level of expertise on configuring and customizing an existing script ...
You need a script that allows multiple file uploads from one form.
Here is just one of many examples:
I never tried that one, but have used similar scripts.
If you are totally stuck in a few days yet, I will try to come up
with a better working example for you.
Give us a link to the form you would like to use (even if it doesn't work).
Last edited by mlseim; 05-12-2004 at 05:16 AM.