PHP Redirection script

Learn how to redirect in this tutorial, you can use header(); function in php or use meta to redirect to a new page you want or redirect to other website. In this scripts, you can use header(); method or use meta to redirect.

Code - PHP Redirection script

// For example, redirecting to www.phpeasystep.com
header("location:http://www.phpeasystep.com");
or
echo "<meta http-equiv='refresh' content='0;url=http://www.phpeasystep.com'>";

 


Similar Post

PHP User online tutorial

This tutorial show you php script that count how many users are active on your site.

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