When programming in PHP, You may not want information to be cached. How to remove cache in PHP?
Becauce cache may affect data to be submitted in forms. Cached data may sometimes cause duplication of sent data or various other errors. To resolve thest issues, you can add a php cache script to your code to disable caching on certain pages on your site. It involves using PHP header, which determine values that will prevent the page from storing data in cache.
Only three steps to complete:
1. Open a new file in Notepad or open the PHP file than you wish to add the "remove cache"script to.
2. Add PHP Cache script to your page. Recommend some free php cache script,There list some free scripts to choose.
3. Save the PHP file.
More PHP Cache scripts you can check out at the site PHPKode
You do not have permission to post replies to topics in this board. If you want to join in with discussions and create new topics please register. If you want to register your own free account with us, please click here.
Not enough time to do something productive I run out of ideas Too hard to show people my creations Everything i do has too many errors, and it's too hard I don't get bored!!!
please login to cast your vote and see the results of this poll