Re: [PHP] protect your CSS files, and possibly other extenstions as well...

2005-05-11 Thread Richard Lynch
On Wed, May 11, 2005 4:58 am, Kit DeKat said: > Richard Lynch wrote: > >>You could do all this... >> >>Or you could just move the files outside your web tree and change your >>include path. [shrug] >> >> > This is probably true, but I was thinking of a virtual hosting > environment where its easie

Re: [PHP] protect your CSS files, and possibly other extenstions as well...

2005-05-11 Thread Kit DeKat
Richard Lynch wrote: You could do all this... Or you could just move the files outside your web tree and change your include path. [shrug] This is probably true, but I was thinking of a virtual hosting environment where its easier to maintain the code when its all in a sub-directory named by

Re: [PHP] protect your CSS files, and possibly other extenstions as well...

2005-05-11 Thread Richard Lynch
You could do all this... Or you could just move the files outside your web tree and change your include path. [shrug] On Tue, May 10, 2005 9:03 pm, Kit DeKat said: > $const = get_defined_constants(); > if( !isset($const["SOME_CONSTANT"]) || > ($const["SOME_CONSTANT"] != 'secret_s