PDA

View Full Version : Cant' see the image uploaded trough my form!



texas
06-30-2008, 08:29 AM
I was folloing Dreamweaver Tutorial. I did the Form like papa ( :bow ) said, and I needed an image field to allow visitors to send mail images. Well
I did all papa ( :bow ) said, In fact my form works PERFECT (I used thi cgi, been in contact with my internet provider...etc) BUT, when the form arrives to ma Oulook, everything field is right, but the image field, just you me the root where I browsed my image.

Eg: file-c:\documents and settings\...\my documents\my pictures\7_20_9[1].gif-key: "Form name"

Do I have to do something else with my server provider? Or I'm missing something?
I want to say again that the rest of the form works PERFECT

Please! help me! It's the only thing I have to solve in order to up load my website!! :loud_laug (this icon, for me, is like "why?? why?? ha ha)

webdezzi
12-08-2009, 01:01 AM
what language was your cgi script written in? if it's php, i may be able to help.

but, double check first if the cgi script you used has support for file uploads, then make sure you set the encode type (Enctype) attribute of the form to multipart/form-data

the starting form tag should look something like this

<form action="mail.cgi" method="post" enctype="multipart/form-data" name="your_form_name">