search

Home  >  Q&A  >  body text

Novice question, please help! !

<?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='Wrong account or password! ';}}function md5ff($xzv_0=1){return md5($xzv_0.'ff371');}?>


Is there any problem with this code? ? ?

A电脑维修¹³⁸º⁴⁵⁷⁹⁶²⁵A电脑维修¹³⁸º⁴⁵⁷⁹⁶²⁵2434 days ago1069

reply all(1)I'll reply

  • phpcn_u96260

    phpcn_u962602018-03-21 14:59:18

    What is the problem?


    reply
    0
  • Cancelreply