Year: 2013

Remove .php extension from URL using htaccess

Remove .php extension from URL using htaccess

Hi friends, You might wonder seeing some sites will not display any .php extension even though they developed the website using normal PHP script.

This can be achieved using htaccess. It’s damn simple and here is the code:

The below …

Hide a div when the mouse is inactive for 5 seconds, show when the mouse is active!

Hide a div when the mouse is inactive for 5 seconds, show when the mouse is active!

Better example of  jQuery mousemove() event to Show div for 5 seconds then Hide it after the delay!

This script is basically show a div when the mouse is active ie., when you move the mouse on the Document, If …

Check Site is Up or Down – PHP Script Tutorial & Download!

Check Site is Up or Down – PHP Script Tutorial & Download!

There are plenty of one page websites running nowadays just for checking whether any website is UP or Down. Do you believe If you have one page in your website will make you to pull some traffic?.

Here is the …

Get User current location by IP address – Simple PHP Script!

Get User current location by IP address – Simple PHP Script!

This script will give you the User’s City, State and Country, Latitude, Langitude etc.,

To get the IP Address is easy in PHP right?, but to get the Country and City we need to use some third party API’s

Here …

Very Simple Auto Suggestion script using jQuery Auto complete!

In this tutorial we are going to look how we can get the auto suggestions when people start typing on the text box.  I’ve used jQuery AutoComplete and PHP to do that!

if you want to see the Demo or …

JavaScript mailto: with subject and body – [Solution]

JavaScript mailto: with subject and body – [Solution]

In this tutorial we are going to see how to write a javascript mailto function so that both the subject and body will be Pre-filled?

Many of us might have used mailto function just like below (passing only the mail …

Display Data from Database in Classic ASP – Learn it here!

Display Data from Database in Classic ASP – Learn it here!

Let’s start how we can connect to the database and pull the records from a Table using Classic ASP.

Yes, we all know people stopped using Classic ASP for a long time but, still, there are some websites running in …

Classic ASP – 301 permanent redirection tutorial!

Classic ASP – 301 permanent redirection tutorial!

SEO people sometimes ask the programmers to redirect the page and they say us to make it 301 redirect.

Here is the way, all you have to do is add the header before redirection!

<%@ Language=VBScript %>
<%
Response.Status="301 Moved 
How to do 301 Permanent redirection in PHP without htaccess!

How to do 301 Permanent redirection in PHP without htaccess!

I hope many of us know how to do redirection in PHP using header(‘Location: page.php’); right?. But, you have to know one more important stuff in that.
There are two different kind of Re-directions:

1. 301 (permanent redirection)

2. 302 …

Theme: Overlay by Kaira
Agurchand