How can I purge the cache folder outside phpBB?

General topics relating to phpBB3 to be posted in here.
Post Reply
candie111
Forum Member
Forum Member
Posts: 21
Joined: Mon Nov 29, 2010 7:57 am

How can I purge the cache folder outside phpBB?

Post by candie111 »

I want to write a simple PHP script that will purge the cache of phpBB. It will be a script that only I access, don't worry about who can access it.

Basically I want to delete everything in the /forums/cache/ folder except for .htaccess and index.htm. How do I go about doing that in a script?
Post Reply