otuatail Posted July 19, 2010 Share Posted July 19, 2010 Hi Guys. This is an ASP/ASP.NET way of allowing you to write your own header which is good for some security sensitive pages. Is there (Hopfully) a PHP version of this. Any ideas please Desmond. Link to comment https://forums.phpfreaks.com/topic/208176-responseclear/ Share on other sites More sharing options...
lemmin Posted July 19, 2010 Share Posted July 19, 2010 Is this what you are looking for? http://us.php.net/manual/en/function.header.php Link to comment https://forums.phpfreaks.com/topic/208176-responseclear/#findComment-1088145 Share on other sites More sharing options...
Kevin.Arvixe Posted July 19, 2010 Share Posted July 19, 2010 Response.clear in C# clears the header's... a flush() in PHP will OUTPUT the output buffer, causing the user to see its current content a ob_clean() in PHP will DESTROY what is in the output buffer, causing this to be destroyed and not see. Take your pick Link to comment https://forums.phpfreaks.com/topic/208176-responseclear/#findComment-1088152 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.