wxpsadd Posted November 19, 2008 Share Posted November 19, 2008 good day guys, in my asp page before i have this code <%Response.CacheControl="Public"%> and now i just wanna ask what is the corresponding of that code here in php thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/133261-please-help/ Share on other sites More sharing options...
gevans Posted November 19, 2008 Share Posted November 19, 2008 This is a PHP forum. not ASP Quote Link to comment https://forums.phpfreaks.com/topic/133261-please-help/#findComment-693103 Share on other sites More sharing options...
premiso Posted November 19, 2008 Share Posted November 19, 2008 He is asking for the equivalent, not for a harsh response. The more coming over from ASP to PHP the better IMO. Check out the header function. I believe it would be this: header("Cache-Control: public"); Hope that helps ya. Quote Link to comment https://forums.phpfreaks.com/topic/133261-please-help/#findComment-693107 Share on other sites More sharing options...
wxpsadd Posted November 19, 2008 Author Share Posted November 19, 2008 problem has been solved, thanks a lot! Quote Link to comment https://forums.phpfreaks.com/topic/133261-please-help/#findComment-693130 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.