[thelist] Upload with Flex3

Bob Meetin bobm at dottedi.biz
Mon Aug 4 10:26:16 CDT 2008

Marcus Bristav wrote:
> I've made a small multi file upload Flex 3 application. The problem is
> that I cannot find a way to set the content type of the uploaded file
> (it always becomes application/octet-stream whatever the uploaded
> really is). Is it possible to control the content type of the uploaded
> files?
> /Marcus
<form enctype="multipart/form-data" action="<?php echo 
$_SERVER['PHP_SELF']; ?>" method="post">

If the form is self-submitting and php you can try the above line.  
Otherwise perhaps:

<form enctype="multipart/form-data" action="whatever.php" method="post">

More information about the thelist mailing list