Categories
CS

简单实用的PHP链接转向

 

[cce lang=”php”]

<?php
$url = “http://www.hanlin.me/blog”;
if (isset($url))
{
Header(“Location: $url”);
}
?>

[/cce]

Leave a Reply

Your email address will not be published. Required fields are marked *