[thelist] How do I include Attachments on a Form? Still doesn't work

Sylvia Braunstein sbraun at rugged.com
Thu May 6 06:45:07 CDT 2004

In order to allow attachments from my website, I incorporated  to my form
tag an enctype="multipart/form-data" as I was advised ans as displayed in
the example on the link that was sent to me.

Now what I get in my return mail is gibbrish instead of the attachment (the
rest of the fields are displayed as they are expected).

I never did this kind of stuff before and tend to use webstuff as WYSIWYG,
by the means of Dreameweaver. I don't really know the turns of twists of
programming. It may be simplistic but I was wondering if there was a way to
solve that problem so that the attachment will actually be sent as such from
the website? What is the reason why the attachment isn't sent.

Here is my form tag:

action="/cgi-bin/gen-form?sbraun at rugged.com+success-url=site/thanks.html+Use
r+Feedback"                enctype="multipart/form-data" method="POST">

and here are my input files (browse)

<input type="file" name="file4">

Do I need to define something at the beginning? What am I doing wrong and
why aren't the attachment files sent in the email?
Finally, how safe is it to allow people to send files through the website as
far as security and potential server flooding are concerned? Are they
checked by an anti-virus (we are using concentric as remote server)? How can
I control whether the attachment files are really legitimate and virus-free?

Thank you so very much again


Sylvia Braunstein
Technical Writer
Aitech Systems, Ltd.

Tel :    +972-9-9600639

Fax :   +972-9-9544315

Mobile : 972-56-399078
Email : sbraun at rugged.com

More information about the thelist mailing list