Neville Hodder wrote:
> The following code creates two Input types - a "file select" and a
> "text input". The "text input" data is returned as expected whilst
> the "file select" data is ignored. I have not found any references
> for a CGI "file select" form tag in my documentation so I guess it is
> not a recognised tag.

It is a recognised tag. See
http://www.w3.org/TR/html4/interact/forms.html#file-select

> 
> How can I achieve a returned selected filename within a simple CGI
> script?

Your form encoding type must be "multipart/form-data"

I recommend you use the CGI module. Look in the document under the section
'CREATING A FILE UPLOAD FIELD'. There are several things you need to do to
get file uploading working.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to