php - Binary $_POSTed filedata gets messed up -
I'm currently testing the new client side permissions of SWFupload ()
The client then changes the flash even before the flash, however, it sends the image as a normal post request in the form of a binary string / app / octet-stream.
I can get this data through the $ _ POST ["filedata"].
, but it's a bit messy. I actually use the same PHP file that is provided in the example.
In the online demo, everything works fine and the uploaded image looks like this:
On my server this looks like this:
(when opened in a text editor)
looks like an encoding problem or something like !!
Requests on the server look exactly the same at both, that means the same data is sent to the client
Can it be a server / PHP setting?
Comments
Post a Comment