Automatic refresh webpage / Set time to redirect

When you need your web page automatically refresh in 5 second or any second you want, you can use this meta tag. It's a simple code, put it between tag ... on your web page.

This script is easy but powerful. Many websites use this script to redirect their web page or refresh the same page, for example, my website updates in every 10 minutes and I want to show user my latest content then I put this script to my page and set it refreshs in every 10 minutes.

Code

<HEAD>

<meta http-equiv='refresh' content='2;url='file_name or URL'>

</HEAD>

// content = time (second).
// file_name = name of file you want to refresh or redirect.
// URL = URL of website that you want to redirect to.


Similar Post

Form Validation Using Dreamweaver

In this tutorial shows you how to validate form using Macromedia Dreamweaver, it will show alert box when someone press submit button and forgot to fill your requied fields.

Get the width and height of an image using a function in PHP

PHP provides a function to get the width and height of an image. The getimagesize() function will determine the size of image file including flash file(swf).