Re: prevent user from getting scripts outside the web folder[this better?]

From: Date: Fri, 14 Oct 2005 18:46:15 +0000
Subject: Re: prevent user from getting scripts outside the web folder[this better?]
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-224145@lists.php.net to get a copy of this message
Ben wrote:
My understanding is that mysql_real_escape_string will only work while you are connected to mysql. Not sure if that is the case in your situation.
At least it requires a connection to mysql. I had an error, when using it without any connection opened before, that mysql_real_escape_string wants to connect to the DB as ODBC@localhost without any password.

« previous php.general (#224145) next »