php redirect

[php]
<?php
Header("HTTP/1.1 301 Moved Permanently");
Header("Location: http://www.example.com/");
?>
[/php]