You are here: Re: Quotation marks in form input « PHP Programming Language « IT news, forums, messages
Re: Quotation marks in form input

Posted by PTM on 07/27/06 18:06

"Karl Groves" <karl@NOSPAMkarlcore.com> wrote in message
news:Xns980D87EE2332karlkarlcorecom@216.196.97.136...
>I have a form which contains a field for "height".
>
> If someone places an entry such as: 5'6" the form seems like it
> completely
> empties that value.
>
> It does NOT do this on my machine, but does on the client's machine, which
> leads me to believe it is something with their php configuration.
>
> Any ideas on what this is (and how I can work around it?)
>
> TIA
>
> --
> Karl Groves
> www.karlcore.com

Sounds like something to do with the 'magic quotes' setting in the php.ini
file.
Unfortunately I'm not sure what effect it will have on their other php
scripts if you change the setting on it.
Search for:

get_magic_quotes_gpc
get_magic_quotes_runtime
set_magic_quotes_runtime

on www.php.net.

Hope this helps.


Phil

 

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

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