return = system($curlDownloadStr);
------------------------
????$return = system($curlDownloadStr);

解决方案 »

  1.   

    类里的一个函数,用来下载图片,我就是反复的调用这个函数
    public function imageDownload($imageURL='', $saveFile)
     {
      $imageURL = $imageURL=="" ? $this->imageURL : $imageURL ;   $curlDownloadStr = "curl $imageURL > $saveFile";   $return = system($curlDownloadStr); //Exception
    if($return === false)
    {
    throw new ImageProcessException("curl download exception@$curlDownloadStr");
    }
    else
    {
    return $return;
    }
     }