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: 1813 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: php forwarding  TLD forwarding  php page forwarding  forwarding meta  php html forwarding  forwarding from html to php  rdp port forwarding udp or tcp  forwarding one php page from other  php forwarding page  META for Forwarding