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