The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Forms, Uploading, and .ASP, Oh my!
BrocknessMonsta
post May 31 2009, 01:43 AM
Post #1





Group: Members
Posts: 1
Joined: 31-May 09
Member No.: 8,746



I'm a senior class delegate for my high school, and my job for next year is to create our senior banquet slideshow and video.
I've created a website where students can upload photos to be put into our slideshow. The following is the code that I used to create the upload form.

<html>
<body>

<form action="2010Photos.asp" method="get">

<input type="hidden" name="MAX_FILE_SIZE" value="10000" />

<input type="file" /><br/><br/>
Your name: <input type="text" name="NAME" /><br />
In this photo: <input type="text" name="TAGS" /><br />
Description: <input type="text" name="SCRIP" maxlength="1000" /><br /><br/>
<input type="submit" value="Upload" />
</form>

</body>
</html>


My issue now is the 2010Photos.asp file. From what I understand, this is where the stuff people upload goes to. What I don't understand is what exactly is the .asp file, what does it do, how do I create one, and how do I get the uploads off of the file on to my computer? I created the code and attempted to upload a photo to see if some magic would happen and it would upload, but it says there is a 404 error and the file 2010Photos.asp can not be found.

Any help in getting me to understand this magic .asp thing would be highly appreciated. My goal is to have this site up by June 10 so that it will be accessible before school is out for the summer.
Thank you.

This post has been edited by BrocknessMonsta: May 31 2009, 01:45 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 31 2009, 04:57 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You probably need to configure the script. Didn't it come with some instructions? Where did you get it?

The file is a script, or a program if you will. It contains code, instructions, for how the form should be handled and and what should be done with the uploads. You can open it and read it in a text editor. It's just plain text. Just keep a backup in case you make changes.

A little general information about using forms here.
http://htmlhelp.com/faq/html/#formstoc

I move this to the serverside scripting forum. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 04:39 AM