Posted by Michael Fesser on 08/10/07 01:14
..oO(Sanders Kaufman)
>> ZeldorBlat wrote:
>
>>> Yes. But you haven't said which database you're using. If you're
>>> using MySQL you want mysql_real_escape_string().
>
>It's interesting that this function is not fully a part of PHP, but
>rather relies on some libraries in MySQL.
You would be surprised how many of PHP's functions are just wrappers
around external libraries. I would say that's the case for >90% of it.
>Seems to me, if I was the PHP guys, I wouldn't have made it so.
You would have rewritten all the functions of the MySQL library in PHP?
Think about it ...
Micha
[Back to original message]
|