Page 1 of 1

Xampp requires username and password for DAV-upload

PostPosted: 07. February 2008 22:59
by utente
Hi guys!
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

Image
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>";
}
?>

PostPosted: 08. February 2008 00:22
by sari42
try <?php instead of <?

PostPosted: 08. February 2008 09:57
by utente
The problem is that on 3 other pc it works well

PostPosted: 08. February 2008 11:17
by sari42
You have to find out what is configured differently by comparing the output of
Code: Select all
<?php
phpinfo();
?>
(saved as, e.g., info.php)

PostPosted: 12. February 2008 22:34
by ntsmarkv
<?include ("config.php");

Change to

<?php include ("config.php");