Hi rigidcode,
 
   Send the bytearray using URLLoader with $POST. I think that you need to send the apropriate header. I did it, but I don't remember well.
 
   At PHP, use:
    if(is_uploaded_file($_FILES["Filedata"]["tmp_name"]))
    $_FILES["Filedata"]["tmp_name"]
 
Gustavo Sanabio

 
2006/6/6, Tim Scollick <[EMAIL PROTECTED]>:
I might be wrong but I think that if you wanted it in the files array, you would have to:
1.  Get the ByteArray.
2.  Send it to the server to make the jpg.
3.  Load the jpg into Flash.
4.  Send it again in the files array.

I think it would be easier and more effiicient to send the ByteArray to make the jpeg and then send the other files independently (I'm assuming that you're sending it with other files).

On 6/6/06, rigidcode <[EMAIL PROTECTED] > wrote:


If I make a ByteArray of jpeg data, how do I send it to the server in
such a way that PHP will have it in it's $_FILES array? If I just set
the URLRequest.data property to the ByteArray, then it won't have a
filename, or a variable name, to refer to in the php.

http://us3.php.net/manual/en/features.file-upload.php



__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to