I think I wasn't very clear at my intentions. I plan on encoding a program using the Zend Encoder, but I will need to utilize the option called "Work only with encoded files" in order to prevent my license enforcement code from being replaced with a non-paying hacker's own code.
Now, the problem is that I still need to allow for a header and footer file to be included, but these files will not be encoded, so it won't work unless I actually read in the file. Also, keep in mind that I do not want any PHP to be parsed from this header and footer file, since it is possible that the user could write code to bypass the license enforcement code.
But, then again, it could be permissible to allow PHP to be execute as long as the license enforcement is above the header and footer (but I'm not sure how I could do that if I have everything in the form of a string).
So, is there a better way to include a file as I mentioned (without using "include" or "require") and is there a way to actually parse the PHP from a string when the string will contain either HTML or PHP? I'm not sure if the "eval" function would work like this.
Thanks,
~Mark