The variable $_SERVER['AUTH_USER'] gives domain\\username problem

From: Date: Fri, 01 Oct 2004 00:27:45 +0000
Subject: The variable $_SERVER['AUTH_USER'] gives domain\\username problem
Groups: php.db 
Request: Send a blank email to php-db+get-36497@lists.php.net to get a copy of this message
Hi, When I use the variable $_SERVER['AUTH_USER'] it comes out as domain\\username when inserted into the MySQL database. So when I try to update the record looking for a match as below it doesn't work because the query is looking for where ident=domain\username. $result = mysql_query("UPDATE aec SET filename='$filename' WHERE ident='".$_SERVER['AUTH_USER']."'") or die (mysql_error()); Anybody know what I am doing wrong? Thanks Justin

« previous php.db (#36497) next »