let's say I use this script
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // this line makes it work under https
$result=curl_exec ($ch);
curl_close ($ch);
echo("Results: <br>".$result);
how do I check the values if they exist in:
curl_setopt($ch, CURLOPT_POSTFIELDS,$params);
in the given url:
curl_setopt($ch, CURLOPT_URL,$url);
if they don't exist try this $params and so on...
does somebody know how...
this is only for knowledge
i will try to figure it out if nobody will help