The concept is simple: include a hidden link to a robots.txt-forbidden directory somewhere on your pages. Bots that ignore or disobey your robots rules will crawl the link and fall into the trap, which then performs a WHOIS Lookup and records the event in the blackhole data file. Once added to the blacklist data file, bad bots immediately are denied access to your site. I call it the “one-strike” rule: bots have one chance to follow the robots.txt protocol, check the site’s robots.txt file, and obey its directives. Failure to comply results in immediate banishment. The best part is that the Blackhole only affects bad bots: normal users never see the hidden link, and good bots obey the robots rules in the first place.
The Google Font API hides a lot of complexity behind the scenes. Google’s serving infrastructure takes care of converting the font into a format compatible with any modern browser (including Internet Explorer 6 and up), sends just the styles and weights you select, and the font files and CSS are tuned and optimized for web serving. For example, cache headers are set to maximize the likelihood that the fonts will be served from the browser’s cache with no need for a network roundtrip, even when the same font is linked from different websites.
This PHP tutorial will show how to create a simple PHP class to search the flickr site for some photos. To get the data we use the flickr API to run a simple search and return the results in a serialized array.
One of the key restrictions with the Twitter API is that any client IP address can only make x number of API calls per hour. If you’re making these API calls from your web server (which obviously only a static IP address), you could quickly use up your hourly allocation on a busy site. Twitter does allow you to “whitelist” your web application to give you a better hourly rate, but here’s a better way: Use the clients, ie your users, to make the API calls from their browsers.
One of the main things I've enjoyed since starting to use CakePHP is the ease in which a developer can create reusable code, and also keep things organized and readable in your code. There are so many components available that make adding great functionality to a site so easy. However, working on an eCommerce site recently I noticed there didn't seem to be much in the way of payment processing (or else I just didn't look hard enough). Anyway, I put together an Authorize.net component to help abstract payment processing in a site and make it easier to get and use all the response codes from Authorize.net payment gateway.
Based on the robust, multi-threaded GraphicsMagick library, aka the "Swiss Army knife of image processing", PHP's GraphicsMagick extension allows developers to add street cred to their image (sorry, I couldn't resist!) with some fairly powerful API methods. This article discusses the extension in detail, introducing you to its key functions and showing you how to rotate, resample, transform, crop, carve, and otherwise mangle your images until they roll over and beg for mercy. So come on in, and bring your evil laughter with you!
Let’s see in this simple tutorial how we can read our timeline and update our status from a simple piece of PHP code.
The ability to drag and drop content on a page and have it save the order can make for a great user interface and is actually relatively easy to execute with a few lines of jQuery. You’ll need to include the jQuery user interface library which you can find here: Jquery Google API. All the files needed to get this up and running are in the download at the bottom of this post.
This tutorial demonstrates how to calculate driving distance between two addresses using javascript and google maps API.
A 4KB jQuery plugin instead of a 118KB Google Blog Bar!!
css regex codeigniter javascript php mysql mootools framework ci mvc forms ajax blog regularexpressions world flash jquery dom svn dojo xml xhtml nav navigation menu effect plugins jqueryui twitter curl ui plugin wordpress event tinyurl photoshop apache google safari python mac search zend zendframework api json html sprites osx fade

For all the newest TUTs, follow @tutlist
JohnGalt (105 Tuts)
JDStraughan (96 Tuts)
linkbuild (48 Tuts)
TJHooker (47 Tuts)
girish (39 Tuts)
Drag TUTmark to your bookmarks
to begin using our bookmarklet.
Don't know how to use a bookmarklet?
Check out this tutorial.
Home Page (RSS and ATOM)
New TUTS (RSS and ATOM)
Subscribe by Email
To learn how to get your ad here.
CONTACT US TODAY!