| Home | Photography / Gallery | Computers | Investment | Links |
Tips on web programming. How to make search engine loves your webpage?If you are using PHP, compress your page by adding this on the very first lane of the page: <?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?> Search engine loves it! How to write a webpage that can defeat word censor system on the visitor's computer?Disclaimer: this trick should not be used to fight the law! It is intended only as idea and I cannot be held responsible of any infringement that occurs by using this trick. Most word censor software works by pattern matching the word on a webpage. If the softwares detect the blocked word, then the software will prevents page that contain those words to be transmitted and displayed on the computer. Here is a trick to defeat the software, by using JPEG to contain those sensitive words. The JPEG that contain those word needs to be camouflaged by lines or colours, you can see the example when registering email like in Yahoo. Page with this trick will appear to screener software as a page with a lots of picture, which will pass the detection system (unless the detection system is smart enough to 'read' the JPEG). |