paulman888888 Posted October 19, 2009 Share Posted October 19, 2009 Hello people; thanks for reading my post I've been trying to catch some data thats not in php tags i know it can be done but dont no how; something like <? obc_start();// guessing here ?> my stuff here that isnt php <? $variable=obc_collect(); obc_close(); ?> i am guessing from what i think i have seen from other scripts Thankyou all Paul Quote Link to comment https://forums.phpfreaks.com/topic/178276-i-know-it-exists-but-dont-no-its-name/ Share on other sites More sharing options...
Mchl Posted October 19, 2009 Share Posted October 19, 2009 These functions are not in PHP manual, so they probably have been defined in the scripts you were looking at. I have no idea what you're trying to do. Quote Link to comment https://forums.phpfreaks.com/topic/178276-i-know-it-exists-but-dont-no-its-name/#findComment-940004 Share on other sites More sharing options...
paulman888888 Posted October 19, 2009 Author Share Posted October 19, 2009 sorry i do get ahead of myself. I was trying to get the data between the PHP tags into a variable. I dont think its obc_ anymore. Please help me Thankyou Paul Quote Link to comment https://forums.phpfreaks.com/topic/178276-i-know-it-exists-but-dont-no-its-name/#findComment-940011 Share on other sites More sharing options...
salathe Posted October 19, 2009 Share Posted October 19, 2009 It looks like you're after Output Buffering, in particular the ob_start and ob_get_clean functions. Quote Link to comment https://forums.phpfreaks.com/topic/178276-i-know-it-exists-but-dont-no-its-name/#findComment-940017 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.