你的interpret = 56325,要prompt也输入56325才行,然后进入56325.php

解决方案 »

  1.   

    你的interpret申明成字符串了,如果var interpret = 0;,然后输入21也是对的,进入21.php
      

  2.   

    这段代码的主要作用是验证密码,然后根据密码跳到不同的页面 . . . 
    实际密码是56325你只要在确认框里输入密码: 56325就可以了...  或者你把
    if(xorm == interpret)
    {
        interpret = interpret+'.php';
        location.href = interpret;
    }
    else
    {
       location.href = 'hahaha.php';
    }
    改成
        interpret = interpret+'.php';
        location.href = interpret;
    就可以用任何密码了...
      

  3.   

    小伙子们!VERY GOOD!
    马上结贴。