Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Parse text box into url

Reply
Thread Tools

Parse text box into url

 
 
firstcustomer@gmail.com
Guest
Posts: n/a
 
      03-16-2006
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?

I know HTML fairly well, but that's about all I know, so please answer
as you would to a 5 year old, cheers!

TIA,
--
Neil

 
Reply With Quote
 
 
 
 
hywel.jenkins@gmail.com
Guest
Posts: n/a
 
      03-16-2006

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

 
Reply With Quote
 
 
 
 
firstcustomer@gmail.com
Guest
Posts: n/a
 
      03-16-2006

wrote:
> 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.
>


Nvm Hywel, got it cracked now, fyi this is how I've done it with no SSI
at all.

A colleague as done it as a VB script.

Cheers
--
Neil

 
Reply With Quote
 
hywel.jenkins@gmail.com
Guest
Posts: n/a
 
      03-16-2006

wrote:
> wrote:
> > 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.
> >

>
> Nvm Hywel, got it cracked now, fyi this is how I've done it with no SSI
> at all.
>
> A colleague as done it as a VB script.


Server-side, I suppose? Or is this for a closed user group?

--
Hywel

 
Reply With Quote
 
Neil Monk
Guest
Posts: n/a
 
      03-17-2006
wrote:
> wrote:
>> wrote:
>>> 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.
>>>

>>
>> Nvm Hywel, got it cracked now, fyi this is how I've done it with no
>> SSI at all.
>>
>> A colleague as done it as a VB script.

>
> Server-side, I suppose? Or is this for a closed user group?


No, not server side as I mentioned (ah, I meantioned SSI, when I actually
meant no server side stuff at all, my bad!)

It's a closed user group (it is on a W2K networked drive) and works a treat!

--
Neil
- www.neilmonk.com -
- Change the colour to Blue to email me -


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
div box questions; float text around a box, fit box to image size Gnarlodious HTML 4 05-05-2010 11:30 AM
search box & add url box script seamamel@yahoo.fr Java 1 02-06-2007 04:59 AM
parse URL (href) from xhtml, xhtml -> text, for data hawat.thufir@gmail.com XML 7 02-08-2006 07:39 PM
Problem with text when inserting into text box =?Utf-8?B?Um9iZXJ0IEhhbHN0ZWFk?= ASP .Net 1 04-27-2004 07:39 AM
Load contents of a text file into a text box Jeremy Chapman ASP .Net 1 08-15-2003 10:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57