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

curl-and-php

nothing in $output var

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

Hi,

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

$handle = curl_init();

        $url = "http://xxxxx.xxx/detail.php?artNo=
".urlencode($data['artnr']);

        curl_setopt($handle, CURLOPT_URL, $url);

        $output = curl_exec($handle);

        //store $output in a db

    curl_close($handle);

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?

best

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-08-29