You are here: Re: Escaping for PHP and MySQL « PHP Programming Language « IT news, forums, messages
Re: Escaping for PHP and MySQL

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация