kla0005 Posted May 4, 2010 Share Posted May 4, 2010 Yo, I have this 'curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);' and it outputs the html automaticly.. How can i make it stop output and make it put the 'output' in a variable? Link to comment https://forums.phpfreaks.com/topic/200720-quick-and-easy-question-b/ Share on other sites More sharing options...
roopurt18 Posted May 4, 2010 Share Posted May 4, 2010 <?php ob_start(); echo 'abc'; $output = ob_get_clean(); echo $output; ?> Link to comment https://forums.phpfreaks.com/topic/200720-quick-and-easy-question-b/#findComment-1053246 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.