can I get data that cURL recieves and put it into a string instead of a file? right now I'm doing
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_FILE, $file);
curl_exec($ch);
curl_close($ch);
rewind($file);
while (!feof($file);
$string .= fread($file, 1);
fclose($file);
but I don't want to use file functions... anybody know if cURL can send data strait to a string?