Reply to Re: Form field entry directs to diff URLs based on entry?

Your name:

Reply:


Posted by Luigi Donatello Asero on 04/29/06 23:03

"Martin Jay" <martin@spam-free.org.uk> skrev i meddelandet
news:vj+XMzI9E8UEFwM+@spam-free.org.uk...
> In message <P5P4g.54926$d5.209300@newsb.telia.net>, Luigi Donatello
> Asero <jaggillarfotboll@telia.com> writes
> >"Martin Jay" <martin@spam-free.org.uk> skrev i meddelandet
> >news:6XmSBtGe27UEFw9Z@spam-free.org.uk...
> >> In message <1146335278.392940.208650@y43g2000cwc.googlegroups.com>,
> >> AtomicBob <robert.westbrook@gmail.com> writes
> >> >I have been given an interesting task:
> >> >
> >> >Make a page with a single form field, which is to take a name (first
> >> >and last), and regardless of case or whether there is a space between
> >> >the first and last name, when the user hits the submit button it takes
> >> >them to a URL that has been assigned to that name.
>
> >> I've upload something to get your started to:
> >> <http://www.spam-free.org.uk/pages/login.zip>.
> >>
> >> It's a bit basic, and you might want to think about what should happen
> >> if someone enters a name that doesn't exist.
>
> >What do you think it would happen?
>
> It depends how the server is configured: visitors may get a 'server not
> found' error, a 404 error, a default page, or maybe something else.
>
> The script could be modified to deal with unexpected names, either by
> looking names up in a database or checking them against a list. Or they
> could be hard-coded into it. :(
> --
> Martin Jay

Do you mean that if an user should fill in a form like this
https://www.scaiecat-spa-gigi.com/sv/formularet.html
and write a name
which does not exist, this user would get a 404 error?!

--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php
今天二零零六年四月二十九日
星期五六

[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

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