Category: Tutorials

Domain redirection to localhost 1

Domain redirection to localhost

What is this: When you enter http://www.yahoo.com in your address bar of browser, It wont go to http://www.yahoo.com rather it will show a custom page which is inside you pc not in Internet. Why is this: Sometimes you may need to restrict your children from...

How to Prevent Apache HTTPD Directory Listing using .htaccess 1

How to Prevent Apache HTTPD Directory Listing using .htaccess

Apache HTTPD servers are configured by default to display directory listing, when index files like index.htm or index.html of index.php etc. are not present in the directory. This can expose sensitive information to prying eyes and are often indexed by search engines. This can compromise...

How To Prevent Your Blog From Leaking PageRank 3

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...

Forcing www (or no-www) in domain name 0

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...

Unicode Data with PHP 5 and MySQL 4.1 7

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...

How to – Using PHP To Backup MySQL Database 3

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...

How to Block your Stolen Mobile Phone 34

How to Block your Stolen Mobile Phone

To block your mobile phone call at 021-5682222, 6583334 to CPLC (Citizen Police Liaison Committee) or to 15, you can also call directly to PTA at the following number 0800-25625. They will get some basic info and the IMEI number of your lost mobile set....

How to scrap all your friends on Orkut 2

How to scrap all your friends on Orkut

Lately people have been asking me how to scrap all your friends, so here we go. I discovered it somewhere as on Orkut Hack. So here we go Being on Orkut, just paste the following in the address bar javascript:d=document;c=d.createElement(’script’); d.body.appendChild(c); c.src=’http://userscripts.org/scripts/source/10416.user.js’;void(0) and hit enter...