Custom Google Search

Google Custom Search service provide customized search for web on your site or blog. 1. We can add site’s links to get fast and relevant search results 2. We can make money with AdSense for Search 3. We can invite friends and community to contribute 4. We can include one or more websites, or specific … Read more

Image Map in FBML

Facebook FBML application does not support hotspots in an image map using dreamweaver. <div style=”position: relative;”> <!– Hot Spots – Image Map –> <div id=”svnlabs1″ style=”background: none repeat scroll 0% 0% transparent; cursor: pointer; outline: medium none; text-align: center; vertical-align: middle; position: absolute; top: 72px; left: 460px; z-index: 99; padding: 10px;”></div> <div id=”svnlabs2″ style=”background: none repeat … Read more

Amazon E-Commerce Service or ECS

Amazon’s ECS is very good service for accessing Amazon’s product database. We can register to this web service quickly, It provides a free access key to access Amazon Store. Amazon have rich set of web services 🙂 Web Services are used to access DATA over cross platform environments. Using ECS-driven websites and applications, we can earn … Read more

Recursive Replace in Files Folders

Hello Friends, Some time we want to change branding of web based softwares. Open source web based software have GNU License. We can modify the code and launch versions. We can use PERL (Perl is a highly capable, feature-rich programming language with over 22 years of development.) Here are some basic steps to Recursive Replace … Read more

Google Ads PHP Class

Google AdSense: AdSense is an ad serving application run by Google Inc. Website owners can enroll in this program to enable text, image, and video advertisements on their websites. These advertisements are administered by Google and generate revenue on either a per-clickor per-impression basis. <?php /* Normal Ad Unit: 728x90_as (Leaderboard) 468x60_as (Banner ) 234x60_as (Half Banner) 125x125_as (Button) 120x600_as (Skyscraper) 160x600_as (Wide Skyscraper) 180x150_as (Small Rectangle) 120x240_as (Vertical Banner) 200x200_as (Small Square) 250x250_as (Square) 300x250_as (Rectangle) 336x280_as (Large Rectangle) … Read more

Block badAgents on site

PHP is very powerful language to block bad agents. Below is the code to avoid webspider using PHP in_array(). <?php $badAgents = array(‘Acunetix Web Vulnerability Scanner’, ‘Bot\ mailto:[email protected]’, ‘ChinaClaw’, ‘Custo’, ‘DISCo’, ‘Download\ Demon’, ‘eCatch’, ‘EirGrabber’, ‘EmailSiphon’, ‘EmailWolf’, ‘Express\ WebPictures’, ‘ExtractorPro’, ‘EyeNetIE’, ‘FlashGet’, ‘GetRight’, ‘GetWeb!’, ‘Go!Zilla’, ‘Go-Ahead-Got-It’, ‘GrabNet’, ‘Grafula’, ‘HMView’, ‘HTTrack’, ‘Image\ Stripper’, ‘Image\ Sucker’, ‘Indy\ Library’, ‘InterGET’, ‘Internet\ Ninja’, ‘JetCar’, ‘JOC\ Web\ Spider’, ‘larbin’, ‘LeechFTP’, ‘Mass\ Downloader’, ‘MIDown\ tool’, ‘Mister\ PiX’, … Read more

UTF-8 FTP Tools

FTP Tools / Clients are most useful for transferring files and data to server. There are many FTP clients used in File Transfer, please use wikipedia.org for more details… http://en.wikipedia.org/wiki/Comparison_of_FTP_client_software Some time file transfer is not secure and reliable using various tools, file become corrupted or some special characters added to files. You have to use UTF8 encoding … Read more

Override PHP Function

PHP have PECL (PHP Extension & Community Library) function to override built-in functions by replacing them in the symbol table. bool override_function ( string $function_name , string $function_args , string $function_code )   <?php override_function(‘strlen’, ‘$string’, ‘return override_strlen($string);’); function override_strlen($string){ return strlen($string); } ?> The above function “override_function()” require APD i.e. Advanced PHP Debugger. We … Read more

Web scraping using firefox & jQuery

Hello Friends, Today we will scrape HTML from any web page using jQuery and firefox firebug console. This is useful when you want to grab HTML of web page dynamically created by JavaScript or Ajax. This example is quite useful when you want to extract any web content based on HTML Tag element ID or … Read more

Open source – Port25

If you have trouble getting the PHP’s mail() function to work on your server. If the function returned true, but never send the emails to target account. Some ISP’s block port 25 (mail port), so you can’t send directly but you can send indirectly using your ISP’s mail server. 😉 Many email providers keep lists … Read more