cURL / Mailing Lists / curl-and-php / Single Mail


nothing in $output var

From: neugi <>
Date: Tue, 28 Aug 2007 16:07:00 +0200


im new to curl and i've a little problem. i wrote this scritp.

$handle = curl_init();

        $url = "

        curl_setopt($handle, CURLOPT_URL, $url);

        $output = curl_exec($handle);

        //store $output in a db


now my problem is that no string is in the output var, and the script is
printing the result on the screen and the value in the $output is '1',

what i'm doing wrong?


Received on 2007-08-29