Removing ‘Bottom-of-the-Page’ Ads
Some free website hosts decide to put links to their website at the bottom of your website, directly after the HTML tag. Not only does this most likely affect the validity of your page, but it also looks ugly (in my case, it made a DOUBLE SCROLLBAR (oh noes!)). Luckily for you, I’ve found a super easy, and quite surprising way to fix it.
Now instead of adding </html> at the end of your website like every good webmaster should, add <?php exit(“</html>”);?>. What this does is stop parsing ANYTHING after what you put inside that exit() statement - Thus barring your free host from putting those annoying ads on your free account!
I can understand why free hosts have ads. They need money somehow, and that’s where they get some of it. So if you go and stop the ads from showing, you could potentially lower the webhost’s income by a small factor. Cut to the chase and you’re banned!
So use wisely ;)