You are here: Re: Parse text box into url « HTML « IT news, forums, messages
Re: Parse text box into url

Posted by hywel.jenkins on 09/29/23 11:42

firstcustomer@gmail.com wrote:
> Hi,
>
> I'm wanting to have a very simple page with the facility to do as
> follows:
>
> The user inputs some data into the text box, and clicks a button
> The user is then submitted to a url depending on the variable, example:
>
> www.mysite.com/variablehere/etc/etc.html
>
> Where variable here is the value that the user has entered in the text
> box.
>
> How wuold I go about doing this?

Have your server-side form handler work out whether the user's input
would product a valid URL and one that can be found, and the send the
appropriate header to redirect the user to that location.

--
Hywel

 

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

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