Browsing articles from "July, 2009"
Jul
25
2009

Email Hacking Facts and Fictions

Lots of newbies keep asking or search for techniques to hack someones email password like yahoo gmail msn etc. First of all it should be noted that getting someone’s password out of a server is something impossible for the very simple reason that in most cases the password is stored no-where. Newbies think and make attempts to get the some one’s password from the target server. But yes this is not possible. Passwords are not [...]

Jul
25
2009

Unicode UTF-8 characters in WordPress Blog Title

Sometime back I was trying to put unicode characters(utf-8) in the title of a blog from wp-admin > settings > general. After saving it became like ?????????. All pages had utf-8 in their meta tags so the issue was somewhere else. A working solution was found : 1. Go to phpmyadmin and select the database of this blog 2. Select table wp_options and then click operations. In table options box change collation to utf8_unicode_ci which [...]

Jul
13
2009

Open View MS Access mdb files in Ubuntu Linux

MDB Viewer is a tool which can be used to open and view mdb files on Linux. On Ubuntu it can be installed from synaptic via the command : sudo apt-get install mdbtools-gmdb

Jul
12
2009

Draw Plot Graphs with PHP

Googling up for graph plotting solutions in PHP , found these free libraries : 1. PHPLOT – Can create Pie Charts , Bar Graphs , Line Graphs , Point Graphs etc. 2. PostGraph – Can create simple bar graphs.

Jul
6
2009

Create AutoIncrement column/field in Apache Derby

While creating a table a particular column / field can be made autoincrement as : The value of an autoincrement column increments automatically with every insert and doesnt need to be specified in the insert command. It is 1 + the value of the same field in the previous row. Now data can be inserted as : Note that the value for the id field (which is an autoincrement field) is not specified. It fills [...]

Jul
1
2009

PHP redirect – go back to previous page

To go back to the previous page the superglobal variable $_SERVER can be used. $_SERVER['HTTP_REFERER'] has the link to the previous page. So to redirect simply :

Jul
1
2009

PHP Format numbers to Indian Numerical System

The numerical system used in India differs from the Western system in terms of the placement of the thousands separator. Example : Number -> 1000000 Indian System -> 10,00,000 (Ten Lakh) Western System -> 1,000,000 (1 Million) While echoing numbers in PHP it is possible to format numbers with such separators using functions like number_format. To format a number in the Indian Numerical System the code would be : and the output should be : [...]

Jul
1
2009

non-www to www redirection with .htaccess

Opening a domain as domain.com or www.domain.com takes to the same page. From the SEO perspective , many suggest that search engines may consider the two to be different sites. So the fix is to apply a redirection to redirect domain.com to www.domain.com Adding this : to the .htaccess file does the redirection job. So now opening yourdomain.com will redirect to www.yourdomain.com which also has a good SEO effect