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
Maynard, aka: Kit DeKat (kitdekat) (c)09-MAY-2005
* E-mail: [EMAIL PROTECTED]
*/
$const = get_defined_constants();
if( !isset($const[SOME_CONSTANT]) ||
($const[SOME_CONSTANT] != 'secret_string') )
{
header('Status: 404 Not Found');
header('HTTP/1.1 404 Not Found
2 matches
Mail list logo