tags:

views:

36

answers:

1

Hi guys..

I was using curl from shell scripts and was setting -s option curl -s , to make to make it silent.. please tell how to set this option in php curl..

Thanks

+4  A: 

You want to set the CURLOPT_MUTE setting when initializing the connection:

curl_setopt($curl_resource, CURLOPT_MUTE, 1);
jrtashjian