[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] A couple of file uploading questions...


I'm writing a CGI::App right now that will accept a file upload.  I'm
trying to use uploadInfo->{Content-Type} from CGI to get the MIME type
of a file, but it gives me an undefined hash reference error.  Any
ideas?
 
Also, is there a way to set the default entry in a File form input?  I
want to fill in the name of the file if a user has already attached a
document instead of presenting a blank field.
 
Thanks!  =)
 
--TWH

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.