Re: Genus who came up with "Self Destruct Code" & "Copy Pro tection"
| From: | Stuart Dallas | Date: | Tue, 14 May 2002 14:53:02 +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-97539@lists.php.net to get a copy of this message | ||
Collins, Robert <RCollins@NORTA.COM> wrote:
> Put something like this in the top of each of the pages that have
> common functions
> <PSUDO CODE>
> if(file_exists("/path/to/file/core_functions.php")){
> $core_functions = "/path/to/file/core_functions.php";
> }else{
> $core_functions =
>
> "http://www.domain.com/path/to/file/core_functions.php";
> }
> require_once($core_functions);
> <PSUDO CODE>
If the code can get core_functions.php from your server, so can they!! A
legal agreement is the only way to go.
--
Stuart