All PHP Tutorials
Ad Management
Counter
Email System
Forum and Guestbook
File Upload
Image Manipulation
Login / Members / Password
Pagination
Encode Script
Refresh / Redirection
Miscellaneous
All MySQL Tutorials
Create, Manage Database using phpMyAdmin
Connect to Database
Insert Data
Select Data
Edit Database
Update Database
Delete Database
Order Results
Forums



Home > PHP Tutorials
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. 
 
Overview

In this scripts, you can use header(); method or use meta to redirect.


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'>";

 

Random Tutorial
 
PHP Pagination
This is a guide how to create a pagination in PHP like digg.com pagination style
 
Automatic refresh webpage / Set time to redirect
When you need your web page automatic refresh in 5 second or any second, use this meta tag. it's a simple code, put it between HEAD tag in your web page.
Advertisement
 
   
Hosted by Hostgator
© PHPeasystep.com 2005-2008