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? Quote Link to comment 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; ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.