You are here: Re: Submit form with empty data « All PHP « IT news, forums, messages
Re: Submit form with empty data

Posted by robert on 09/28/52 11:47

"Martin Jay" <martin@spam-free.org.uk> wrote in message
news:bB86kTMA4PZEFwQI@spam-free.org.uk...
| In message <5O69g.1378$Jn3.786@fe04.lga>, robert
| <ab@no.spam-alama-ding-dong> writes
| >| Or you could give $surname a nonsense value
| >| before doing the search.
|
| >oh...you're a "magic value" kind of guy. THAT advice is PURELY NONSENSE.
|
| LOL. In this context it's no less secure than using a password, as we
| do for many other things.

who says anything about "secure"...that's just STUPID programming. and, "as
we do"...bullshit...don't pass off that amature shit over here. if it is
BLANK and you want to do something under that situation, catch it and handle
it correctly. "correctly" here in NO WAY involves magic values.

how bout:

if (!$searchForThis == '')
{
do you shit to generate a report here...otherwise, don't waste any more
time.
}

magic values are NEVER a good option, plan, or strategy.

 

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

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