Friendfeed API implementation in PHP

July 18, 2009

Recently for a client i needed to make a friendfinder script via Friendfeed API !, On giving a initial look at their API homepage , i was happy to see that Friendfeed provides client libraries for PHP development and their API is REST based. However, on going through the PHP Client library i realized that [...]

Read the full article →

Check file existence in php

July 14, 2009

Php developers need to do a lot of file operations , Work like cache building, logs etc all required file operations functions in php. www.php.net/file_exists is a handy tool for existing file on to the webserver. here’s a example code:- This Functions returns TRUE if the file or directory specified by the filename exists otherwise [...]

Read the full article →

Php Sessions

July 14, 2009

The problem with the HTML is that it cannot retain the values of variables from one page to the next page. All the data values of the previous page are forgotten when the next page is reloaded. To solve this problem, PHP is used. PHP allows transferring data values from one page to the next [...]

Read the full article →

Escape special character in mysql query

July 14, 2009

Mysql throw error when there are special characters in query !, The characters like “`” etc are always a nuisance in sql queries. For this reason , it’s always a necessity to use mysql_real_escape_string() (www.php.net/mysql_real_escape_string) ! , On one hand it’s secure and make sure that the queries don’t die while executing. The syntax that [...]

Read the full article →

Extract domain information from a URL with and without regex

July 12, 2009

At times Php developers need to parse domain information from a given url , Usually a $_SERVER['REQUEST_URI'] , The php function www.php.net/parse_url is used to extract domain name, Variables from a url string, The list of information extracted (Return values) from parse url are:- scheme – e.g. http, https, etc. host:- the domain name( www.google.com) [...]

Read the full article →

N97 Vs Iphone Vs Neo 1973, Which one is the best #Part 1

June 24, 2009

With the iPhone rage dying up, Nokia 97 could well be the iPhone killer that we all are waiting for, I regard three smartphones currently which should be compared to find emerging winner, Nokia N97, Apple Iphone and Openmoko Neo 1973 (due to it`s open source advantage).

Read the full article →

TwitterGadget — Integrate Twitter client into your Gmail/Google Apps account

April 17, 2009

I have been addicted to twitter and thus tweetdeck for a long time now , But the heavy dosage of ram taken by tweetdeck (along with the notifications) was always a off to me.

Read the full article →

BigDump — Mysql importer–Ideal for big wordpress blogs

April 17, 2009

As a wordpress consultant we come across many issues that require us to import or export large mysql database sets. And usually the clients don’t have ssh access. Phpmyadmin is a great tool , But is a big fail when it comes to handle huge amount of mysql data. Usually ssh or some exporting tool [...]

Read the full article →

Nokia N97 is out , iPhone killer is here

December 2, 2008

With Nokia revealing Nokia N97 mobile in Nokia World 2008 this week at Barcelona, Spain there is a new competitor in the smartphone market ready to heat up the competition . Here are a quick snapshot to Nokia N97 specifications:-

Read the full article →

Google chrome tips tricks and keyboard shortcuts

September 12, 2008

Chrome is all about speed and user friendliness , from the point chrome is released , it`s been a rage. Here are some tricks and keyboard shortcuts that i found useful for chrome 1.  Control + Shift + N opens an ‘incognito’ window – This mode helps you to visit sites which will not appear on [...]

Read the full article →