Web Development Tips and Tricks

Web Development Tips and Tricks

Tuesday, March 15, 2011

How To Do A 404 Redirect With Php?

For this problem we need two file one file .htaccess and one php file i used 404.php you can use any other name.

first Make a .htaccess file

open notepad and paste below code and save as .htaccess page

ErrorDocument 404 http://www/yourdomain/404.php

and 2nd php file

< ? php

echo"page is not found";

?>

You can wrtie anything(use image etc) in php page

now type anypage name which not is your website it will return on 404.php page.

Sunday, February 20, 2011

Address Change Letter

Date: dd/mm/year

Dear Sir/Madam,
This is with reference to my change of address.
I want to change my billing address and I would like you to kindly make note of the change of address in your records.
My Current Address:
xyz
Delhi-110092
My New Address Will Be:
abc
delhi-110094
My new address is as mentioned in this letter.  I request you to kindly address all your further communication to me at this above mentioned address only.
Thanking You
name
+91-....
email

Jai Ho

Indian Team played like the World Cup favourites and India's campaign as hot favourites.

Thursday, February 17, 2011


Looking forward to cheering indian cricket team & hope that they perform magnificently,Our best wishes message indian team and cricket God Sachin Tendulkar

Friday, February 11, 2011

Tuesday, February 8, 2011


Life is like a chocolate box,
Each chocolate is like a portion of life,
Some are crunchy, some are nutty,
Some are soft, but all are Delicious.

Wish You A happy Chocolate Day To All My Friends

Monday, January 31, 2011

Where are you friends


I feel lonely and want to do something about it, so what must I do? Start by understanding a simple law of life which can help solve almost any problem. That law is: You have to give away what you wish to receive. Our actions are balls that bounce back to us. A corollary of that law is: Don't give others what you don't want to receive. If I punch someone, they will punch me back. If I hug someone, they will hug me back. It's as simple as that. And that is the wisdom contained in the teaching, "Do unto others as you would have them do unto you."
But there in no one for give and receive