default_page.php

来自「EonianBai 精美留言本 学php还不过2个星期,难免有所不足.发现BU」· PHP 代码 · 共 27 行

PHP
27
字号
<?php
  session_start();
  require_once 'require.php';
  $page = $_GET['page'];
  try
  {
    if ($web_of == 'off')
    {
      throw new Exception('网站已关闭,请捎后登陆.谢谢');
    }
    if (substr($page,0,3) != 200)
    {
      throw new Exception('你牙想SQL注入?学2年再来吧!');
    }
  }
  catch (Exception $e)
  {
    html_header('首页');
    html_info('错误提示','on',$e->getMessage(),'off','','');
    html_footer();
    exit;
  }
  html_header('首页');
  html_info($page.' 留言列表','off','','off','2',$page);
  html_footer();
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?