Parse text box into url

F

firstcustomer

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,
 
H

hywel.jenkins

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.
 
F

firstcustomer

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
 
H

hywel.jenkins

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?
 
N

Neil Monk

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top