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] !=
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
Sorry Richard if you received this twice.
Okay let me get this straight:
You protect your includes by making sure that they have a protected
string defined?
You pass JS and CSS through PHP, and output a 404 unless they've got a
HTTP_REFERER variable set to whatever you want it to be?
I guess
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 easier to maintain
I recently discovered a php method to hide text-based files from remote
users while allowing access to your internal pages and scripts. You can
take advantage of this technique as well to protect your artistic rights:
There are two variants: one for php scriptss and their included counterparts
and
5 matches
Mail list logo