Reply to Re: escape characters added to form data

Your name:

Reply:


Posted by Mazin07 on 11/15/34 11:27

O'Hara wrote:
> O'Hara wrote:
>
>
>>Hi,
>>Some characters entered in the text fields of a form get an escape
>>character. What is the reason? How can I prevent/remove this?
>>
>
>
> Problem solved.
> I needed to turn off magic_quotes_gpc in /etc/php.ini
>
> magic_quotes_gpc = Off
>
> Sorry if this was a VFAQ.
> As for the usefulness of these magic quotes...
>

In addition, there's a function specifically for slashes:

StripSlashes( string str )
AddSlashes( string str )

Will add/remove the escape slashes

[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

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