Re: [PHP] Re: Questions about mysql_real_escape_string and addslashes

2004-11-06 Thread Stuart Felenstein
--- "M. Sokolewicz" <[EMAIL PROTECTED]> wrote: (http://www.php.net/manual/en/function.mysql-real-escape-string.php) I have my eye on example 3: The Quote_Smart function. Do I have to list all the variables out though or is there a way to have it check everything passing through ? What would ni

[PHP] Re: Questions about mysql_real_escape_string and addslashes

2004-11-06 Thread M. Sokolewicz
Stuart Felenstein wrote: First I'm a bit unsure , because in the manual it states that you must use mysql_real_escape_string on binary data. So first question, what constitutues binary data, a file or just an integer? any data that might contain a null-byte (\0) is usually seen as the definition