Is there a was to delete a PHP file currently in use?
Posted on 2004-11-16
Hello, I was thinking about selling a PHP script and building in a security feature that I could use to check to see if anybody else had sold it. If I found the script online without my copyrights in place, I could simply send some info to it and have itself delete off of their server? Or possible re-write itself?
Any chances this could be done? (I am aware, that if the person selling or giving it away knows what they are doing, they could remove the security feature, but I'm banking that most wouldn't think to look.
So, one of two options, could the script delete itself, or could you have it re-write itself?