Tuesday, July 3, 2012

PHP Redirection script


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.infobrainz.com
header("location:http://www.phpeasystep.com");
or
echo "<meta http-equiv='refresh' content='0;url=http://www.phpeasystep.com'>";

No comments:

Post a Comment