Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Ajax get binary data

Name: Anonymous 2009-08-19 3:27

Is there a way to get binary data using only ajax?
Like e.g. bytes 10-1000 from some file?

Name: Anonymous 2009-08-19 3:44

yes

Name: Anonymous 2009-08-19 3:59

>>1
Probably, why you would need to is beyond me. See:
<?php
    exit(json_encode(array("success" => true, "bdata" => "0101101010101010101001010101010101010")));
?>

Name: Anonymous 2009-08-19 4:34

>>2
>>3
DONT LEARN TO HELP SAGE HIM!!!!!!

Name: Anonymous 2009-08-19 4:49

>>4
Fuck you, dipshit.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-19 5:31

If you use Internet Explorer its trivial: create a new XML http request, and parse responseBody(which is binary).
I don't know if anything of that sort is present in Firefox or Opera.


________________________________
http://bayimg.com/image/aadbjaace.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
It doesn't matter how you feel inside, you know. It's what shows up on the surface that counts.

Name: Anonymous 2009-08-19 7:20

Problem solved: if(!response.responseBody) alert("requires latest Internet Explorer");

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-08-19 7:26

>>7
Your going to lose users with this attitude.


____________________________________________
http://bayimg.com/image/aadbjaace.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
These perspectives will appear absurd to those who don't see that life is, from its origins, groping, adventurous, and dangerous. But these perspectives will grow, like an irresistible idea on the horizon of new generations.

Name: Anonymous 2009-08-19 19:02

>>8
If we lose you it'll be all worth it

Name: Anonymous 2010-12-17 1:36

Erika once told me that Xarn is a bad boyfriend

Name: Anonymous 2011-01-31 19:51

<-- check em dubz

Don't change these.
Name: Email:
Entire Thread Thread List