[snip]
I have a funny request; I wrote a system for a client and am rather
concerned that I am not going to receive payment for the work done. They
want me to hand over the code before they are willing to pay, so
basically I will be left at their mercy; if they don't pay, they will
still have a working version of the system...
So, is there any way I can inconspicuously code in some boo-boo's that
are time related etc. Something that will bomb the mysql tables or break
some code if it is not "unlocked" within a month etc.
I'm not sure if people out tjere might have existing safeguard tools
etc, so I'm open for suggestions.
[/snip]
You could try something like this;
if(date == '30 days from now'){
if(unlock code <> 'the unlock code'){
Do stuff to disable code, set variables to odd values, drop
tables,
whatever;
Do stuff to send e-mail to offending party;
}
}
HTH!
Jay 'Been There, Has to Do That' Blanchard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php