You are here: Re: HTTP POST problem « PHP Programming Language « IT news, forums, messages
Re: HTTP POST problem

Posted by Steve on 03/06/06 16:48

> I am using PHP version 4.2 in RHEL4 system.

> 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..?

Try recoding to use PUT instead of POST:

<http://www.php.net/manual/en/features.file-upload.put-method.php>

---
Steve

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация