Re: Genus who came up with "Self Destruct Code" & "Copy Pro tection"

From: Date: Tue, 14 May 2002 20:27:24 +0000
Subject: Re: Genus who came up with "Self Destruct Code" & "Copy Pro tection"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97622@lists.php.net to get a copy of this message
----- Original Message ----- From: "Miguel Cruz" <mnc@stoic.net> > On Tue, 14 May 2002, Collins, Robert wrote: > > $core_functions = > > > > "http://www.domain.com/path/to/file/core_functions.php"; > > require_once($core_functions); > > 1) You'd have to eval() it rather than requiring it. I don't think you can eval() a remote file. > 2) lynx -source -dump http://www.domain.com/path/to/file/core_functions.php > core_functions.php All this will do is return you the HTML generated by the PHP file, which will be empty, probably, if this is a file of function declarations. > 3) As in Jason's somewhat more effective example, it's slow. Could you imagine if this worked? You could "include" code from anyone's PHP server. Someone please correct me if I've just got this all wrong. ---John Holmes...

« previous php.general (#97622) next »