[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread rigidcode
Thanks, it's not working, here is what I've tried: var bar:ByteArray; . I put data in the byte array... I've checked the length, it's about 4k var urlu:URLRequest = new URLRequest( 'http://www.mysite.com/fileup.php' ); urlu.data = bar; urlu.method = URLRequestMethod.POST;

[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread rigidcode
No, I'm not sending it with other files. I just want to send this one, a bytearray of a jpg file. How do I do step 2 on your list? If I make a UrlRequest, and set it's data property to my ByteArray, then what will the variable name be in php's $_FILES array? $_FILES['what??'] ? It's not

[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread drome.dario
Hello, I'm assuming that what you want is to send a binary to your server in the same way that if it was sent by a browser (using that browse button in some forms) and then, at the server side, consume that file using PHP. In that case, I think that the best way is to implement (using