[PHP] Re: Reading binary http post

2006-02-23 Thread Dirk Vanden Boer
Manuel Lemos schreef: Hello, on 02/21/2006 03:40 PM Dirk Vanden Boer said the following: 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

[PHP] Re: Reading binary http post

2006-02-23 Thread Manuel Lemos
Hello, on 02/23/2006 02:55 PM Dirk Vanden Boer said the following: The problem is that you are misleading PHP telling that you are posting form data. You need to correct the request Content-Type. It must not be application/x-www-form-urlencoded nor multipart/form-data . I think you can use

[PHP] Re: Reading binary http post

2006-02-22 Thread Manuel Lemos
Hello, on 02/21/2006 03:40 PM Dirk Vanden Boer said the following: 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

[PHP] Re: Reading binary http post

2006-02-21 Thread Dan Baker
Dirk Vanden Boer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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

[PHP] Re: Reading binary http post

2006-02-21 Thread Cristian MARIN
This is actually not a solution as is not solving Dirk's problem. The 'A' will make the isset($_POST['data']) to be always true. Another thing is that the $_POST['data'] is still not containing the binary code that is expected as the PHP will get the and will start a new variable A solution