Clear Cache

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
stanley
Forum Newbie
Posts: 6
Joined: Mon Feb 14, 2005 8:37 am

Clear Cache

Post by stanley »

Did anybody know the php script to clear computer cache
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

lets see.. php question... hmmm not supposed to be in general discussion.. as listed several times in the board description and in a thread that's a sticky...

read much?

Moved to PHP - Code. :roll:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

unless your install of php has full rights on those areas, you won't be able to clear the cache. You also won't be able to clear any parts that the system currently has open. Which cache in particular are you wanting to clear? There's only about 20. :roll:
stanley
Forum Newbie
Posts: 6
Joined: Mon Feb 14, 2005 8:37 am

Post by stanley »

I am running two similar php scripts on one single website site. One of the script is running USD and another one RM. Both scripts are running well except the currency sign stay in the cache. If I run USD script first, the currency will remain as USD although later I run RM script, unless I closed my browser and open again. Is there any line to be added to the script to clear the cache, to let it work something like closing the browser and then open again?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

search for no-cache
Post Reply