RES: [PHP] CURL -d

2012-03-26 Thread Alejandro Michelin Salomon
length of data // This for soap action 'SOAPAction: action here ') ); $xResult = curl_exec($ch); Alejandro M.S. -Mensagem original- De: QI.VOLMAR QI [mailto:qi.vol...@gmail.com] Enviada em: segunda-feira, 26 de março de 2012 12:46 Para: PHP General Assunto: [PHP] CURL -d I have this

Re: [PHP] CURL -d

2012-03-26 Thread QI.VOLMAR QI
I know guess that it is a POST field, but the detail is on simulate the -d without a label. I've already looked at setopt man page, but nothing seems like what I need. 2012/3/26 Ashley Sheridan > ** > On Mon, 2012-03-26 at 09:45 -0600, QI.VOLMAR QI wrote: > > I have this lines: > cur

Re: [PHP] CURL -d

2012-03-26 Thread Ashley Sheridan
On Mon, 2012-03-26 at 09:45 -0600, QI.VOLMAR QI wrote: > I have this lines: > curl -H "Content-Type: application/json" -d "hello world" \ > > "http://api.pusherapp.com/apps/17331/channels/test_channel/events?"\ > > The option -d is for data. But How I can set it on the PH

[PHP] CURL -d

2012-03-26 Thread QI.VOLMAR QI
I have this lines: curl -H "Content-Type: application/json" -d "hello world" \ "http://api.pusherapp.com/apps/17331/channels/test_channel/events?"\ The option -d is for data. But How I can set it on the PHP CURL extension? I have found that if I set something like array('H