Hi,
Anyone know of a way I can currupt the contents of files in a folder? I know its a strange request but here's what I want it for. My PHP scripts require the user to have a valid licence, if a licence is not valid I want the script to screw up basically.
Any Ideas?
I need to CURRUPT
Moderator: General Moderators
All the user would have to do is set the file to read-only (or on unix, remove the write bit).
Sounds like a bad protection system to me. If you really want to be THAT controlling, simply put a if/then check for the correct code, and then encode the whole script with something like the zend encoder - preventing them from changing the file or even seeing your code.
Sounds like a bad protection system to me. If you really want to be THAT controlling, simply put a if/then check for the correct code, and then encode the whole script with something like the zend encoder - preventing them from changing the file or even seeing your code.