altarek — 2011-10-31T03:10:39-04:00 — #1
Sorry, I'm new in this language and i want to upload image How can I upload a image to the database, i used perl file and tmpl file ,any help?
stomme_poes — 2011-10-31T04:44:04-04:00 — #2
You mean upload an image using a web form?
lesleyb — 2011-11-20T17:57:30-05:00 — #3
Also, have you got the form enc-type set up correctly?
The default value for this attribute is "application/x-www-form-urlencoded". The value "multipart/form-data" should be used in combination with the INPUT element, type="file"
from http://www.w3.org/TR/html4/interact/forms.html (if you are using HTML-4 style forms)
The encoding type doesn't change in HTML 5 http://www.w3.org/TR/html5/association-of-controls-and-forms.html#attr-fs-enctype.