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

curl-and-php

check this out

From: Alex <alex_at_windeagle.org>
Date: Mon, 9 Aug 2004 07:27:48 -0400

        while(CURLM_CALL_MULTI_PERFORM == curl_multi_exec($CURLM,$CURLS));
        $CURLC = $CURLS;
        while($CURLS){
                if($CURLC < $CURLS){
                        print_r(curl_multi_info_read($CURLM));
                }
                $CURLC = $CURLS;
                while(CURLM_CALL_MULTI_PERFORM == curl_multi_exec($CURLM,$CURLS));
        }

is this correct cuz i put print_r just to see what happens and it doesn't output anything....am i doing something wrong? or should I make it like this:

        while(CURLM_CALL_MULTI_PERFORM == curl_multi_exec($CURLM,$CURLS));
        $CURLC = $CURLS;
        while($CURLS){
                if(($CURLC < $CURLS) && curl_multi_info_read($CURLM)){
                        /* do something */
                }
                $CURLC = $CURLS;
                while(CURLM_CALL_MULTI_PERFORM == curl_multi_exec($CURLM,$CURLS));
        }
Received on 2004-08-09