How do I convert this cURL command to PHP (libcurl)?

Posted by Daddy Warbox on Stack Overflow See other posts from Stack Overflow or by Daddy Warbox
Published on 2010-06-07T06:59:25Z Indexed on 2010/06/07 7:32 UTC
Read the original article Hit count: 204

Filed under:
|
|
|

In continuation off of this question, what are the PHP statements I need to accomplish this:

curl -is -F 'J:A-login=BTDT::Action::Login' -F 'J:A:F-address-login=EMAILADDRESS' -F 'J:A:F-password-login=PASSWORD' http://hiveminder.com/splash | grep -o 'JIFTY_SID_HIVEMINDER=[0-9a-f]\+'

The flags and fields are still mysterious, and I've not the time presently to swim through docs to figure out how this translates. I do at least understand the | grep ... portion, though.

© Stack Overflow or respective owner

Related posts about php

Related posts about command-line