内部服务器错误php jquery ajax脚本GoDaddy jQuery AJAX(index.php) PHP(xyz.PHP) 您是否能够直接访问“xyz.php”文件?将会话_start()移到第一行。您是否以纯文本形式存储密码?提醒我,在你学会

内部服务器错误php jquery ajax脚本GoDaddy jQuery AJAX(index.php) PHP(xyz.PHP) 您是否能够直接访问“xyz.php”文件?将会话_start()移到第一行。您是否以纯文本形式存储密码?提醒我,在你学会,php,jquery,Php,Jquery,内部服务器错误php jquery ajax脚本GoDaddy jQuery AJAX(index.php) PHP(xyz.PHP) 您是否能够直接访问“xyz.php”文件?将会话_start()移到第一行。您是否以纯文本形式存储密码?提醒我,在你学会如何使用之前,不要使用你正在使用的任何东西。从PHP页面的第一行开始会话是的,我可以访问xyz.PHP $.ajax({url:"xyz.php",type:"POST", data: {'login': email,'p

内部服务器错误php jquery ajax脚本GoDaddy jQuery AJAX(index.php) PHP(xyz.PHP)
您是否能够直接访问“xyz.php”文件?将会话_start()移到第一行。您是否以纯文本形式存储密码?提醒我,在你学会如何使用之前,不要使用你正在使用的任何东西。从PHP页面的第一行开始会话是的,我可以访问xyz.PHP
$.ajax({url:"xyz.php",type:"POST",
           data: {'login': email,'password': pass},
           dataType: "json",

            success:function(r){                
                if(r["status"]==='success')window.location.href="abc.php"
                else {$("#ErrorMsg").fadeIn();$("#Loader").hide();$("#SendButton").fadeIn();}
                },
                beforeSend:function(){$("#SendButton").hide();$("#Loader").fadeIn();},
                error:function(x,e){
                    if(x.status==0){
                        alert('You are offline!!\n Please Check Your Network.');
                    }else if(x.status==404){
                        alert('Requested URL not found.');
                    }else if(x.status==500){
                        alert('Internel Server Error.');
                    }else if(e=='parsererror'){
                        alert('Error.\nParsing JSON Request failed.');
                    }else if(e=='timeout'){
                        alert('Request Time out.');
                    }else {
                        alert('Unknow Error.\n'+x.responseText);
                    }
                    $("#Loader").hide();$("#SendButton").fadeIn();
                }
            });
$DataSet = mysql_fetch_array(mysql_query("select * from administration where ADMIN_EMAIL_ID='$_POST[email]'"));
    if(strcmp($DataSet[2],$_POST['pass'])==0)
    {
        session_start();
        $_SESSION['Aunthentication'] = "Yes";
         echo json_encode(array('status' => "success"));
        //echo"approved";
    }
    else echo json_encode(array('status' => "failed"));