UnixServerAdmin

Server Administration & Management

How to URL forwarding in PHP

<html>
<?php
//this will NOT work, the browser received the HTML tag before the script
header( ‘Location: http://www.yoursite.com/new_page.html&#8217; ) ;
?>

Advertisements

June 9, 2011 Posted by | PHP | , | 4 Comments