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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 1 Oct 2004 11:47:50 +1000, justin.baiocchi@xxxxxxxx
<justin.baiocchi@xxxxxxxx> 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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux