PHP Disclaimer
Moderator: General Moderators
PHP Disclaimer
I'm using a php poll script that I found and was wondering how the person uses a disclaimer on the script. I searched for the string that is displayed "script by blah blah" and isn't located in any of the files... is he calling outside of the script? How does this work? I'm less interested in removing the disclaimer and more interested in how this actually works... thanks!
Re: PHP Disclaimer
There are lots of ways of doing it. He may simply have obfuscated the string (hidden it) like:
Or he may be calling an external file like:
Or he may have done something clever.
Code: Select all
echo base64_decode("c2NyaXB0IGJ5IGJsYWggYmxhaA==");Code: Select all
echo file_get_contents("http://www.domain.com/disclaimer.txt");