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;
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
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
3 matches
Mail list logo