html coding

BlastADookie

Rookie
Joined
Dec 12, 2007
Messages
40
Hey guys, I'm trying to make a web page (relatively advanced in my opinion) as a school project. Does anyone know how to make a page where users can upload documents which will be sorted by a form, as well as search and download those documents?
 
That's going to be hard because you're going to need a server to store info and transfer that which will take up a lot of bandwidth. I'd recommend just making a site for, well not looks, but not for uploading and sharing data.
 
Zombie stop crushing my dreams! kidding.

If I'm not expecting a lot of traffic, do think it can be done using a free web host?
 
Nah. It'll still be too slow and they'll probably have some limit that'll mess u up. You could try but I can't guarantee that it'll work. And btw I crushed your dreams, boiled them, ate them and nuked myself.
 
hahaha thanks zombie.

This project is something I might want to continue beyond a grade. If I can get it to work then transfer it to a server later that would be awesome.
 
mmm ask who ever made the site for some HTML coding or just google HTML CODEING HELP google pwns
 
Trust me I've been googleing the subject for a while. I think what I'm trying to do is too complex for the standard html tutorials.
 
It is. I'll get my dad to come on and post some more info later. He's a programmer and he's been programming for around 30 years.
 
You can't do it with HTML. Gotta use a server-side scripting language, ie. PHP...

btw, what do you mean by "sort by a form"?
 
[quote1198598752=omgooses]
You can't do it with HTML. Gotta use a server-side scripting language, ie. PHP...

btw, what do you mean by "sort by a form"?
[/quote1198598752]


What I was trying to say is that the user would fill out a form along with an uploaded document which other users could search for...if that helps
 
[quote1198604759=BlastADookie]
What I was trying to say is that the user would fill out a form along with an uploaded document which other users could search for...if that helps
[/quote1198604759]
well.. it's definitely something you can't do with just HTML..
I suggest going with the PHP/MySQL route (php for the scripting, mysql for storing info into the database), but you also need to find a host that supports php and mysql. (you can also try storing the info in a flat-file, which is basically a .txt file that holds all of the info but it's not as versatile as MySQL.

I would start here: http://www.w3schools.com/php/php_file_upload.asp
but you also need some other information: MySQL table design (what kind of information will be entered in the form?)
You'll also need to modify the above script to accommodate MySQL usage (adding code to store the form info and associating the file with a specific row of MySQL data in the table, which is the info that the user entered).

Edit: you'll also need to create a separate php page to display the files and have the user search the info.
I would just scourge the internet for scripts and resources. :p You can also try http://php.net

it's also impossible to do this with just HTML because HTML is just the coding to display stuff (layout, images, text, etc.). HTML doesn't interact with the server, hence it cannot store files onto the server. (html is basically just a file that a user downloads and the browser renders whatever the html page tells it to)
 
Back
Top