Reading binary http post
| From: | Dirk Vanden Boer | Date: | Tue, 21 Feb 2006 18:40:52 +0000 |
| Subject: | Reading binary http post | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-230819@lists.php.net to get a copy of this message | ||
Hi,
I have a C++ application that posts binary data to a php script that I
created using libcurl. Everything works fine except when my binary data
happens to start with the '&' symbol. In that case I can't read the http
post data (isset returns false).
The post argument then looks like data=&ÑÚA
Reading the post is done like this:
if (isset($_POST['data'])
Is there a way to fix this problem?
Thanks in advance
Dirk