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 Upload single file

Simple PHP uploading file scripts.

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.