in reply to Re^2: Curl command does not return the entire html source of Secure Webpage
in thread Curl command does not return the entire html source of Secure Webpage
In your case, you need to add your parameters to $string
$string = "level=2&pass=pwd&form-id=user_login&op=Log in"; $string_length= length($string); $curl->setopt( CURLOPT_POSTFIELDS, "$string" ); $curl->setopt( CURLOPT_POSTFIELDSIZE, $length ); $curl->setopt( CURLOPT_POST, 1 ); $curl->setopt( CURLOPT_CONNECTTIMEOUT,8);
as shown in the last post. Good luck!
Click for a complete list of options you can set.
|
|---|