cURL and PHP: Stop output to screen cURL and PHP: Stop output to screen curl curl

cURL and PHP: Stop output to screen


You ommitted the F in TRANSFER, change this:

curl_setopt($ch,CURLOPT_RETURNTRANSER,1);

To this: CURLOPT_RETURNTRANS F ER

curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);