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.
Archive for March, 2009
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.
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!
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.
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!
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.
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.
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.
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.