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. Quote Link to comment 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 Quote Link to comment 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 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.