HMV.co.in

September 23, 2008

Page redirect

Filed under: php — Tags: , , , — Harsha M V @ 10:51 pm

Description

If you want a PHP redirect script that redirects visitors from a page to a specific URL then this is it. It sends the user from one web page to a different web page address. It is a good alternative to using the meta tag http-equiv option.

The code


<?php

/**

 * Place in a blank PHP page

 */

// Change to the URL you want to redirect to

$URL="http://www.example.com";

header ("Location: $URL");

?> 

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.