<?
if(isset($_POST['date'])){
header("Location: {$_POST['date']}");
}
else
{echo "helloworld";}
?>
if(isset($_POST['date'])){
header("Location: {$_POST['date']}");
}
else
{echo "helloworld";}
?>
------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
-------------------------------
------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
-------------------------------