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



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
 
Test php mail function on your localhost
When you code php mail function you can't test it on your localhost you have to upload and test it on your hosting but now you can test php mail function on your localhost using Argosft mail server. 
 
 
   
Hosted by Hostgator
© PHPeasystep.com 2005-2007