Need to give it a content-type. The browser needs to know what it's displaying so it can display it correctly. You can use CGI::header to provide this. Since you already use CGI qw(:standard), you can just do print header; somewhere near the top of your program.
In reply to Re: Trying to make a simple file uploader CGI script
by wink
in thread Trying to make a simple file uploader CGI script
by OnionKnight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |