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 Good Man on 10/16/72 12:00

"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.

 

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

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