Custom Search

DHTML and CSS CAPTCHA

CAPTCHA is the name of an approach used to distinguish site accesses performed by real humans from robot script accesses.

Usually the pages show fuzzy pictures with letters that the user needs to guess. However there are smart anti-CAPTCHA robots that can also guess what is written in CAPTCHA picture.

PHP to Detect Mobile Phones

If you have  a website and may want your website to automatically detect the user agents whether it is a mobile or iphone or pc. then you can use the scripts created by Andi Moore. It is a PHP script.

Andy Moore is a  dotMobi Certified Mobile Web Developer and you can visit his website at: http://www.andymoore.info/.

The PHP script to detect mobile phones can be reached at http://www.andymoore.info/php-to-detect-mobile-phones/ or you can download here.


Also you can subscribe to andymore's RSS feed to keep updated of changes to this script at:
http://andymoore.info/feed/

Arrays

You can create an array using either the array() function or the array operator [].The array() function is usually used when you want to create a new array and populate it with more than one element, all in one fell swoop. The array operator is often used when you want to create a new array with just one element at the outset, or when you want to add to an existing array element.
The following code snippet shows how to create an array called $rainbow using the array() function, containing all its various colors:
$rainbow = array("red", "orange", "yellow", "green", "blue", "indigo", "violet");

Google Maps Api

This class has been made by Sven Weih from Germany and can be used to present world maps using Google Maps API in other sites.

It allows defining several details of the maps to be displayed like: markers pointing to given addresses, dragable markers, location points, several types of controls, the zoom level, map center coordinates, width and height of the map in the page.

Excel Stream

Xlsstream is a stream wrapper to read and write MS Excel files
This class has been made by Ignatius Teo, from australia.
This class implements a stream handler interface to read and write Microsoft Excel spreadsheet files in the XLS format.

Easy Google Map

EasyGoogleMap is a php-class-package which has a functionality to display world locations using Google maps. This package has been made by Mitchelle Pascual, a blogger from Philippines.

This class can generate the necessary HTML and Javascript to create a map display on a web page with optinal locations be marked with special icons.

Blog Integration

BloggerIntegration has functionality to import a blog from blogger.com to another site.

The classes in this package can process one or more blogs parsing the blog to extract posts, comments, images, etc.
The processed blogs pages can be rendered and published into another site with a different template. This package can also integrate imported blogs with a site published with osCommerce.

Api-Google-Translate

api-google-translate is a class that can be used to translate text using the Google Translate API. This class is written by Jamie Telin from Sweden.

It sends an HTTP request to Google Translate API Web server passing the text to be translated and the original and target languages pair.

The class decode the JSON response returned by the server and returns the translated text.

Version: 1.1
Required PHP version: 4.1

This class can be downloaded either from phpclass/org or here (2kb). The package is including the codes of countries