Re: Advice on maintaining public and private files

From: Date: Sun, 21 Feb 2010 17:30:25 +0000
Subject: Re: Advice on maintaining public and private files
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-302246@lists.php.net to get a copy of this message
On 2/21/2010 9:11 AM, Kim Madsen wrote:
Al wrote on 20/02/2010 19:30:
I use Kim's solution and take it one step forward. Htacces files can get lost or corrupted, so....
No solution to that problem as I see it.
In my config file I have the text string.
I like the idea, but what if this file is never accessed?
Generally my applications have Admins and Users. Admins visit every day or two; when they do, function checkHTaccessFile($htaccessText) gets called. It can also be called when Users visit, which is of course more often. This option is set in the config file. If someone is particularly concerned a cronjob to run every x hours will also work. This seems to me to be a bit of overkill.

« previous php.general (#302246) next »