Reply to Re: Correct us of mysql_real_escape_string()

Your name:

Reply:


Posted by iktorn on 03/23/07 21:23

Simon Harris napisał(a):
>>> Simon.
>> check magic_quotes_runtime in your php.ini - is it turned on?
>
> Hi,
>
> Thanks for your reply.
>
> magic_quotes_runtime is off for both local and master.
>
> What does this mean please?
>

It's weird... if magic_quotes_runtime were on, that would be the cause.
But if its off, I suppose that when you insert data into mysql using
mysql_real_escape_string(), it's in fact quoted twice before inserting.

Maybe you're inserting data that comes from GET/POST?
If so, check also magic_quotes_gpc directive.

--
Wiktor Walc
http://phpfreelancer.net

[Back to original 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

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