Re: Sanitizing potential MySQL strings with no database connection

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

 



Dotan Cohen wrote:
>> If you look a little closer, you will see that I am not using addslashes().
>>  Rather, I am using addcslashes().  This allows to specify the characters
>> that I want escaped, instead of the default assumed characters from
>> addslashes().
>>
> 
> I do not know which characters to escape.
> 

I have given you the link to the mysql_real_escape_string().  On that page, it
shows the characters that it escapes.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux