I've a little problem with a troubleticket software (written in php)
Xampp makes me able to run software without any kind of problems but when i try to login in the software administration panel or user panel a windows prompt asking username and password for DAV-Upload.
I've Windows Xp sp2 fully updated and latest version of Xampp
Sorry it's in italian but i think that it explains it more clearly
- Code: Select all
<?include ("config.php");
$obj=new sast1com();
$email=mysql_escape_string($_POST['email']);
$password=mysql_escape_string($_POST['password']);
$nu=$email;
$ps=$password;
$err=1;
$obj->connessione();
$result = mysql_query("select * from utenti where email='$nu' and password='$ps'");
while($array=mysql_fetch_array($result)){
$err=0;
}
if($err==0){
$temput=$nu;
$temppass=$ps;
$_SESSION['temput']=$nu;
$_SESSION['temppass']=$ps;
echo"<script language=javascript>";
echo"document.location.href='index.php'";
echo"</script>";
}
else{
echo"<script language=javascript>";
echo"document.location.href='errore.php'";
echo"</script>";
}
?>