06-20-2006, 12:20 AM
Is there a way to code something which checks for certain code lines on a HTML file or PHP file and if they are not there or have been modify to send me an e-mail?
06-20-2006, 01:12 AM
You can fopen/fread thru the file and look for text that way.
06-20-2006, 01:33 AM
well see the reason is that I will be putting a template for download but I do not want them to change the code lines which shows my copyrights of that template so if they do change those code lines or delete them from the .HTML file I would like to know about it of course.
So here I am wondering if there is a way to code something within that file which checks to for those code lines which display my copyrights and if those code lines have been alter or deleted then to send me an e-mail becasue once they download the files I will have no control over those files (template) so at least I want to give those files with that script to check on it self for those code lines showing my copyrights.
Can this be coded some how?
06-20-2006, 02:07 AM
If you are trying to protect your code, you might look at something along the lines of ionCube. There are a couple other encoders referenced here http://www.seocompany.ca/software/free-encryption-software.html
ionCube is the only one I'm familiar with, but the obfuscator looks interesting especially considering the price tag and that nothing needs to be installed on the server.