CURLOPT_POSTFIELDS

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

CURLOPT_POSTFIELDS

Post by Ree »

What should be passed to curl_setopt() when setting CURLOPT_POSTFIELDS? An array? A string?
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

The php.net Manual is your friend.
Ree
Forum Regular
Posts: 592
Joined: Fri Jun 10, 2005 1:43 am
Location: LT

Post by Ree »

Oops, have missed the option 'grouping' on php.net manual.

It should be a string ;).
Post Reply