Archive for March, 2009

Google Gears Geolocation API, example displays your location on Google Map

The Google Gears Geolocation API allows you to display your current position data by obtaining it from your WiFi antenna. The Google Gears Geolocation API is able to obtain the exact location of the user’s current location, in terms of latitude, longitude and even the address etc. User browsers such as Internet Explorer, Firefox must have Google Gears installed excepts Google Chrome, in order to have the Google Gears API to work on your browser.

Continue reading ‘Google Gears Geolocation API, example displays your location on Google Map’

Face.com brings Face Recognition capability to match/discover your photos on Facebook

facebook-to-incorporate-israel-based-face-dot-com-photo-finder
Facebook have tons of photos uploaded by the members and the friends everyday. So there are lots of photos scattered around and many of them are NOT tagged and linked to the members themselves. Lets say, your friend has uploaded one photo that has you in it, but it’s not properly tagged, so the photo will not appear in your profile or you’re totally unaware of that it exists in Facebook.

Continue reading ‘Face.com brings Face Recognition capability to match/discover your photos on Facebook’

To validate if an URL exists, use PHP CURL

PHP Curl allows you to validate if a given URL exists. What you need to do is just a simple function as follows, which takes an input URL and returns the code. If the returned code is 200, then the URL exists, else it doesn’t!

Continue reading ‘To validate if an URL exists, use PHP CURL’

How to shorten long URLs in a user-input text by using TinyURL programmatically

TinyURL allows long URL to be shortened. In this example, I’d like to show how you can build a text form that contains text keyed in by a user, and sends to the server-side PHP to detect those overly long URLs and shorten them one by one by sending them to TinyURL service.

Before I proceed, I’d like to let you know that TinyURL has an API, which is as follows and it returns a single string only that is the tiny url which has been shortened from the given “url” parameter.

Continue reading ‘How to shorten long URLs in a user-input text by using TinyURL programmatically’

Google AdSense : Useful tools, tips and resources

If you’re one of the webmasters or bloggers having a couple of your websites or blogs pulling lots of traffic from the Google search engine and others, you shall already know what Google AdSense is. And of course, you shall be showing AdSense ads on your popular websites or blogs and making lots of Google Money!

Continue reading ‘Google AdSense : Useful tools, tips and resources’

Google Chrome remains as the most secure brower to date, stands the first-day test of Pwn2Own

A number of security experts gathered at the contest at CanSecWest, and they’ve performed several stringent security tests at the Pwn2Own competition, on the most popular web browsers including Internet Explorer, Firefox, Safari and also Google Chrome. The first three (IE, Firefox, Safari) all went down, caught with bugs and security exploits. And only Google Chrome now has passed through to the second day of the test.

Continue reading ‘Google Chrome remains as the most secure brower to date, stands the first-day test of Pwn2Own’

Developing Facebook applications makes you rich

It was reported by SmartMedia, that some Indie developers managed to pull in USD $700,000 in ads revenue in the month of December last year from the Facebook applications that was developed by them.

Continue reading ‘Developing Facebook applications makes you rich’

Bookmarked: 70 useful ajax and javascript techniques

SmashingMagazine has published 70 useful ajax and javascript techniques, it’s a handy resource that I shall explore one by one later. There are many cool animated calendars, timelines, menus, tool tips, sliders built using ajax and javascript techniques.

How to recover deleted files emptied from the Recycle bin

I know it’s a disaster, when you’ve mistakenly deleted some important files or documents and you’ve mistakenly emptied the recycle bin of your Windows again. If you’ve done both, in your mind those files must have been completely gone, there is no way for you to have the files back in Windows, it’s just like a complete disaster to you now.

Continue reading ‘How to recover deleted files emptied from the Recycle bin’

Sorting data made easy using JavaScript table sorter

javascript-table-sorter
If you’re asked to build a PHP script that pumps out some data from the database and presents in an HTML table to the users. And on the first row of the table, shows the titles of each field (As pictured above). Once the user clicks on each title the data in the column need to be sorted. If you implement this in a server-side scripting such as PHP, it’ll then need to send the request back to the server to get the server-side PHP script to sort the data by changing the “ORDER BY” in an SQL statement.

Continue reading ‘Sorting data made easy using JavaScript table sorter’