Networking, Programming and Graphics Tutorials

PHP forwarding [1/1]

Type: Code Networking, Programming and Graphics Tutorials
PHP forwarding
Level: Beginner Networking, Programming and Graphics Tutorials 
PHP forwarding
Date: 2007-Apr-12
PHP forwarding
Visited: 1560 times
PHP forwarding
Rating: PHP forwarding
PHP forwarding
Author: Tony Potter

This tutorial will explain how you can forward a web page to other URL using PHP forwarding.
It will be useful when you do not want to use other way of forwarding, like .htaccess permanent redirect, META redirect, Java redirect, etc.
This type of forwarding can be used only on a server with running PHP on it.

To do the forwarding create one 'index.php' file and paste the bellow listed code inside and do not forget to change 'http://www.domain.tld/folder/index.html' with the URL you want to forward to.

<?php
header
("Location: http://www.domain.tld/folder/index.html");
?>
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - PHP forwarding [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: hml forwarding  "php forwarding"  php forwarding  meta forwarding  meta forwarding  "meta forwarding"  forwarding meta  meta web forwarding  Forwarding +meta  forwarding from html to php  meta forwarding page  meta forwarding html  html forwarding meta  html forwarding with META  meta index forwarding  page forwarding meta  meta forwarding refreshing  http forwarding meta  index forwarding html  html forwarding page example