You are here: Re: $_POST adding whitespace to variable value « PHP Programming Language « IT news, forums, messages
Re: $_POST adding whitespace to variable value

Posted by Steve on 10/10/91 12:00

"Rik Wasmus" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.t4zev7md5bnjuv@metallium.lan...
> On Tue, 15 Jan 2008 18:26:12 +0100, Good Man <heyho@letsgo.com> wrote:
>
>> "Rik Wasmus" <luiheidsgoeroe@hotmail.com> wrote in
>> news:op.t4zeklpi5bnjuv@metallium.lan:
>>
>>> On Tue, 15 Jan 2008 18:06:21 +0100, Good Man <heyho@letsgo.com> wrote:
>>>>> Of course, my real problem is how the whitespace gets in there in
>>>>> the first place.
>>>>
>>>> Nope, who cares how it got in?
>>>
>>> Euhm, if I request a form editing some record, and I change one field,
>>> I don't expect to get an 'invalid' error on another in my view
>>> unaltered field. In this case, we KNOW whitespace is invalid, and
>>> will trim() it out. However, if whitespace is valid, this could stack
>>> whitespace on the end for every edit action. Not something you'd
>>> like.
>>
>> true, i wasn't even imagining it being created on the
>> back-end/server-side.
>
> The OP didn't mention it indeed.

"The form downloads current settings from a mysql database."

;^)

 

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

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