Re: [PHP] Mystery about chmod and permissions

2005-10-09 Thread Al
Jeffrey Santos wrote: To save on computing time, the results of the fileperms command are cached... I assume when you run a new instance of the program, it uses a new cache / old one is deleted when the first instance ends. Either way, you should clear the cache first: clearstatcache(); echo "

RE: [PHP] Mystery about chmod and permissions

2005-10-09 Thread Jeffrey Santos
To save on computing time, the results of the fileperms command are cached... I assume when you run a new instance of the program, it uses a new cache / old one is deleted when the first instance ends. Either way, you should clear the cache first: clearstatcache(); echo "Directory permissions fo