PHP CURL problem
Posted on 2014-01-06
Hi all , I'm trying to user PHP curl to open a connection with another server to send it a file and then get the reply to manipulate it ...
This worked fine with me :
$ch = curl_init();
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
But , this line :
do execute the CURL connection and automatically prints the reply even when I'm commenting the final line " the echo statement "
So the final reply is always printed ...
I don't want that ..
I want to get the result in a variable to manipulate it not to print ..