This same function I put in another question for another reason, in this question I want to delete the text that $ result returns:
...
$fields = http_build_query($data);
$post = curl_init();
$url = $url . '?' . $fields;
curl_setopt($post, CURLOPT_URL, $url);
curl_setopt($post, CURLOPT_POST, 1);
curl_setopt($post, CURLOPT_RETURNTRANSFER, false);
curl_setopt($post, CURLOPT_POSTFIELDS, $fields);
$result = curl_exec($post);
curl_close($post);
I can not seem to find a way to do this:
/ p>I tried curl_setopt ($ post, CURLOPT_RETURNTRANSFER, false);
But it did not work, I'm starting to use this curl_init now
What I need is simply to know if the $ result is true or false