Re: [PHP] file functions and clearstatcache

2002-05-21 Thread Miguel Cruz
On Tue, 21 May 2002, Gerard Samuel wrote: > I have a function that checks whether a file exists and loads it like so > > function foo($bar) > { > if (file_exists($bar)) > { > include($bar); > } > } > > According to clearstat cache, its use is for files that change often. >

[PHP] file functions and clearstatcache

2002-05-21 Thread Gerard Samuel
Im just double checking on the use of clearstatcache. I have a function that checks whether a file exists and loads it like so function foo($bar) { if (file_exists($bar)) { include($bar); } } According to clearstat cache, its use is for files that change often. In my case