HTML::Mason file upload

Posted by marghi on Stack Overflow See other posts from Stack Overflow or by marghi
Published on 2010-03-13T12:25:15Z Indexed on 2010/03/13 12:35 UTC
Read the original article Hit count: 515

Filed under:
|
|

Recently I've been trying to get some files uploaded on to my server in my HTML::Mason application. All good no problems there apparently Mason a filehandle directly in the argument. The problem is that I cannot retrieve the filename from that filehandle in a elegant way. One method of resolving this issue is parsing the filename on the client before sending it to the server and placing the extracted value in a hidden field so that it gets sent upon submit. BUT that is very unsafe!

© Stack Overflow or respective owner

Related posts about perl

Related posts about mason