Upload forms (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


jackal16 -> Upload forms (8/14/2007 13:02:20)

Please could anyone show me how to put in an upload form so people can upload files to me through my website.

Thanks




Tailslide -> RE: Upload forms (8/14/2007 13:07:50)

What sort of server-side technology have you got? PHP, ASP, ASP.NET?




jackal16 -> RE: Upload forms (8/14/2007 14:11:20)

could u explain further please as im new to web design




Tailslide -> RE: Upload forms (8/14/2007 14:24:53)

To do this sort of thing you'll need some sort of script in a server-side language that will operate on the webserver - it will take the item that is uploaded and do whatever you want it to do - for instance, move it to a folder or if it's an image resize it and then put it in the images folder so that you can use it later to show on a web page for instance.

There are several different server-side languages, all slightly different to each other so we'd need to know which one you've got so that we'd know what type of script will work for you. If you're unsure then check with your hosting company - most will say which languages they have for various hosting accounts on their website.

In very general terms if you're on a Unix/Linux web server then you'll want a PHP solution. If you're on a Windows server then you can sometimes also use PHP and more often than not ASP.Net.

So we'd need to know the language and also sort of thing you want to upload and what you want to do with it when you've uploaded it.




jackal16 -> RE: Upload forms (8/14/2007 14:31:12)

Ok it a Linux servers which is using PHP. I would like the form to be able to upload .zip files.

Thanks




Tailslide -> RE: Upload forms (8/15/2007 2:37:12)

I'd be really really wary about what you use to do uploads and who you allow to upload stuff to your web server. I can be very dangerous.

The code that I use is stuck behind a passworded admin area and isn't available for anyone except the site owner. I wouldn't use it for wider usage.

If you need anyone to be able to upload a zip file to your webserver then my suggestions is to go to hotscripts.com and have a look at the upload files there. Make sure you go for one that talks a lot about security and make sure that you restrict the file types allowed to be uploaded to zips if that's what you need. They have a ton of different uploading systems on hotscripts - some quite fancy with admin areas etc.




jackal16 -> RE: Upload forms (8/15/2007 6:42:46)

Thanks for your help




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875