<?php
session_start();error_reporting(0);if($_GET['act']=='logout'){unset($_SESSION);header('location: ./login.php');die;}$tips='';if($_POST['username']&& $_POST['password']){include('../inc/aik.config.php');$admin_name=htmlspecialchars($_POST['username']);$admin_pass=md5ff(htmlspecialchars($_POST['password']));if($admin_name==$aik['admin_name']&& $admin_pass==$aik['admin_pass']){$_SESSION['admin_aik']='http://127.0.0.1/';echo '<script>window.location.href="./index.php";</script>';die;}else{$tips='账号或密码错误!';}}function md5ff($xzv_0=1){return md5($xzv_0.'ff371');}?>
这段代码有没有问题???