Xampp requires username and password for DAV-upload

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp requires username and password for DAV-upload

Postby utente » 07. February 2008 22:59

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>";
}
?>
utente
 
Posts: 2
Joined: 07. February 2008 22:51

Postby sari42 » 08. February 2008 00:22

try <?php instead of <?
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Postby utente » 08. February 2008 09:57

The problem is that on 3 other pc it works well
utente
 
Posts: 2
Joined: 07. February 2008 22:51

Postby sari42 » 08. February 2008 11:17

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)
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Postby ntsmarkv » 12. February 2008 22:34

<?include ("config.php");

Change to

<?php include ("config.php");
ntsmarkv
 
Posts: 32
Joined: 22. October 2005 21:38


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests