Posted by Manuel Lemos on 03/10/06 05:55
Hello,
on 03/06/2006 11:02 AM kumar said the following:
> I am sending multipart binary data using libcurl from client
> application and a php script at the server side recieves it. But
> unfortunately the data received through $_POST variable is truncated at
> the first instance of NULL character.
> -> I cannot use base64 encoding as this is performance intensive and
> client application is lightweight. We cannot afford this.
> -> there seem to be no way access raw http data since client is
> sending multipart data.
>
> Is there any way I can be able to access http raw data or correct
> binary data..?
You may want to try this HTTP client class that supports uploading
binary files.
http://www.phpclasses.org/httpclient
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Navigation:
[Reply to this message]
|