[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 tha

Re: [PHP] Reading binary http post

2006-02-21 Thread Dirk Vanden Boer
as I don't have the ULR in my head. > > But you'd be 100% better off to follow the standards and url-encode > the data in the first place -- Especially if you're ever going to > re-use this code elsewhere, and MOST especially if you ever might want > to hook up YOUR cod

Re: [PHP] Reading binary http post

2006-02-21 Thread Dirk Vanden Boer
Thanks for the hint, I'm not doing any encoding at the moment, I'll try it out tomorrow. Dirk On 2/21/06, Paul Scott <[EMAIL PROTECTED]> wrote: > On Tue, 2006-02-21 at 19:40 +0100, Dirk Vanden Boer wrote: > > The post argument then looks like data=&A > >

[PHP] Reading binary http post

2006-02-21 Thread Dirk Vanden Boer
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=&Ñ