Reply to Re: $_POST adding whitespace to variable value

Your name:

Reply:


Posted by Steve on 11/12/03 12:00

"Rik Wasmus" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.t4zgmgqe5bnjuv@metallium.lan...
> On Tue, 15 Jan 2008 19:04:51 +0100, Steve <no.one@example.com> wrote:
>> "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."
>
> Ah, carefull reading code, less carefull reading introductions, my bad :).

i'm just mess'n with you rik. even without, you still divined the correct
answer. :)

[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

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