以php为例:
复制代码 代码如下:
<?php
ob_start();
if ('password' != $_get['password'])
header("http/1.1 404 not found");
?>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title> sample </title>
</head>
<body>
</body>
</html>
<?php ob_end_flush();?>
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!