Creating Custom Error Messages in Apache

Introduction
The .htaccess file is a file found in Apache servers that allows you to manipulate the behaviour of the server. A very common use is to create custom error messages for server errors. Examples of such errors are “404 Not Found” (say when you click on a broken link), and the “500 Internal Server Error” [...]


Develop PHP Application in VS.Php for Visual Studio

You must be ammazed at strange kind of title for this blog post but yeah, this is 101% true and the guys at jcxsoftware , who are committed to provide .NET develpers a platform to develop better web applications using the state of art PHP technology, yeah PHP is better called to be a tech [...]


How To Prevent Your Blog From Leaking PageRank

In simple terms, PageRank leakage/dilution is when outbound links siphon off PageRank which would normally be distributed to internal pages, therefore reducing your sites overall PageRank.
How much of an effect it has on your site will depend on the strength of your internal linking and how many outbound links you have.
There are two ways to [...]


Forcing www (or no-www) in domain name

One of the first things I do when I begin implementing a site is to force the www (or no-www) in the domain name. Why would I want to do this? For search engine optimization of course. For example, naseerahmad.com redirects to www.naseerahmad.com. What this means for Google is that it gets crawled as one [...]


Unicode Data with PHP 5 and MySQL 4.1

Unicode background
In the ever expanding world of e-commerce and information technology, one thing above all is coming to the forefront of internet design - globalization. For many large companies, web documents are translated into many different languages. However, the computer technologies we use for storing data weren’t originally designed to deal with information in multiple [...]


How to - Using PHP To Backup MySQL Database

There are at least three ways to backup your MySQL Database :

Execute a database backup query from PHP file.
Run mysqldump using system() function.
Use phpMyAdmin to do the backup.

Execute a database backup query from PHP file
Below is an example of using SELECT INTO OUTFILE query for creating table [...]