English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Like when you are submitting something to a site and you attach something by using a button that says browse and lets you look through your files. Help

2007-03-10 12:53:43 · 2 answers · asked by Ferret 4 in Computers & Internet Software

2 answers

Hi,

It's not just creating the form in the web page, but you also need a form processing script on your web server that will handle the uploading of the file.

Allowing visitors to upload files to your server also has security implications - someone could upload a virus to your web space that infects your site - believe me it happens.

You should check with your web host before allowing file uploads because if someone does upload a virus, you host could shut your site down with no warning.

You can protect yourself to some extent by only allowing certain types of file uploads, say images with file extensions like jpg or gif etc. But you need a form processing script that will enable you to do this.

One script I have used is Master form V4, it is quite sophisticated and will do a lot more than you may need right now, but it may be worth your while to take a look.

Another solution is to use a form builder software. One I know of and use can create flash forms for you that are both attractive and the latest version will allow you to add an upload button.

This solution does not require you to have a form processing script the software creates the form and the processing files and you just upload them to your server.

You can discover more about form building, the flash form builder and master v4 at the resources I have listed below.

Hope this helps:

2007-03-11 01:01:00 · answer #1 · answered by Anonymous · 1 0

You aren't going to be able to allow uploads using plain HTML, you'll need to learn a scripting language like PHP or ASP to upload the file itself.

2007-03-10 20:59:09 · answer #2 · answered by mr_cabbageman 4 · 0 0

fedest.com, questions and answers