First, there is no need for hostilities. You posted your code and asked that it be critiqued. It was. Live with the critique, or don't post it here. Just because you didn't get the response you wanted ("yay, great code, you're a genius!!!"), doesn't mean you have to lash out.
Second, just because information is available "on hundreds of sites" doesn't make it right for you to grab it off of Game Revolutions' site. In fact, I have had a look at their Terms & Conditions (something you obviously haven't read):
Game Revolution User Agreement
.... yada, yada, yada... oh, here we go:
- Use of Content
2.1 You acknowledge that the Service contains information, software, photographs, audio and video clips, graphics, links and other material (collectively, the "Content") that are protected by copyright, trademark or other proprietary rights of NRI or third parties. All Content on the Service is copyrighted as a collective work of NRI pursuant to applicable copyright law. You agree to comply with any additional copyright notices, information, or restrictions contained in any Content available on or accessed through the Service. Users of the Service may use the Content only for their personal, noncommercial use.
2.2 You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the Content, in whole or in part, except as expressly permitted in this Agreement. Content consisting of downloadable software may not be reverse engineered unless specifically authorized by the owner of the software's patent and/or copyright. You may post on the Service any Content owned by you (such as your original statements), Content for which you have received express permission from the owner and Content in the public domain. You assume all risk and responsibility for determining whether any Content is in the public domain. You grant to NRI the right to edit, copy, publish, distribute, translate and otherwise use in any medium any Content that you place on the Service without compensation to you. You represent and warrant that you are authorized to grant all rights set forth in the preceding sentence.
If you think that because "the same cheats are on hundreds of websites hence them being public domain," their lawyers would have a field day with you!
Third, your code is NOT correct. You use strpos() to create $contentend, which is either an integer showing the first position of the string, or "false." However, you compare $contentend with variations of "thanks to revolution," a string. It will always evaluate to false, so every if statement you have will result in a FALSE condition. I gave you some lines of code to fix that, and to condense your if statements to one condition. You chose to spit in my face.
If you ever want people to help you in the future, I would advise that you be a little more accepting of critique if you intend to post in the Code Critique forum.
Smart move, calling the moderator of the Code Critique forum a "retard." :rolleyes:
Gotta love the irony of your signature, though. That made me LOL.