Reply to Re: form question

Your name:

Reply:


Posted by Jukka K. Korpela on 11/21/06 11:54

Scripsit chinese.central@googlemail.com:

> Thanks a lot for your reply.

Top posting (comprehensively quoting someone else's message below one's own)
normally indicates lack of comprehensive reading. Did you understand
_anything_ of what I wrote? It seems to me that you didn't.

> But for example, google, only 1 text field
> http://www.google.co.uk/search?hl=en&q=html&btnG=Search&meta=
> How does this general strategy work?

It works fine. Google is rather successful, you know.

> N.B. I want to do some validation and syntax checking before the
> stuffs appear on the URL, any trick to do that?

You've got it all backwards. Any checking you do before the URL construction
would take place in the _browser_, so it would be inherently and
unconditionally unreliable. You cannot, thank &Deity;, control what my
browser does. If you offer some JavaScript code that performs a preliminary
check, to save _my_ time, I might be persuaded to let my browser execute
JavaScript on your page. Just might. You still couldn't know whether I had
done that and whether the data has been checked when it reaches your server.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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