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

From: Date: Fri, 01 Oct 2004 01:57:56 +0000
Subject: Re: The variable $_SERVER['AUTH_USER'] gives domain\\username problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-36504@lists.php.net to get a copy of this message
On Fri, 1 Oct 2004 11:47:50 +1000, justin.baiocchi@csiro.au <justin.baiocchi@csiro.au> wrote: > I made the change but the domain\username now appears in my database as: > domain\\\\username You probably have the magic quotes enabled. The manual page( http://www.php.net/manual/en/function.mysql-real-escape-string.php ) says something about it. It even provides a sample code for automatically handling the magic quotes setting (see the last code block). Do try the examples first, character escaping IS A confusing issue. ---- ramil

« previous php.db (#36504) next »