Type here, get sent there . . .

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking for a way to put a simple text box on a page that when a visitor
types in a certain code (5 digit number) and presses "enter", it will send
them to a specific page on the site.
 
Will require use of server side coding (ASP or PHP) and probably best done w/ a database

--




|I am looking for a way to put a simple text box on a page that when a visitor
| types in a certain code (5 digit number) and presses "enter", it will send
| them to a specific page on the site.
 
This is something that I probably can't do my self. Is there any where I can
go to get a tutorial?
 
There are a few solutions to this. If you are using a
handful of combinations I would probably just use a simple
if-then format in whatever scripting language. If you were
using all 100,000 possibilities I would go database as
Stefan suggests


:I am looking for a way to put a simple text box on a page
that when a visitor
: types in a certain code (5 digit number) and presses
"enter", it will send
: them to a specific page on the site.
 
Thanks for the input. I think it's really simple I just don't know how to do
it. I have a home page (www.homepage.com),if a member refered a visitor to
"their" page I want to have a simple box on this home-page that they can
enter the last 6 digits of a sub-page. ex. www.homepage.com/48576 I want
them to be able to enter 48576 in a text box, hit enter, and be directed to
the members page. Does this make sense?
 
Then 48576 has to be a folder with a default document (home page, i.e., index.htm, etc.) in it. The
all a member would have to do is provide http://www.homepage.com/48576/ to whomever. This is the
easiest way to accomplish your goal.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Yes. the /48576 and all the rest of my member pages have been produced. What
I am trying to do is protect my members from being bypassed (kinda like
leaving off an affiliate code when ordering) When prospects receive a post
card with the members full address on it and the customer just wants to
bypass them and go directly to the home page I have a statement saying "the
person who refered you has spent money and time . . . please enter their code
in this box and you will be directed to their site. -- How can I have the
entered number (48576) get the prospect to the proper member page? Thanks
everyone for sticking with this, I have very limited Script knowledge and I'm
thinking this is what it's going to take.
 
The best option then would be a database driven application, however someone else may be able to
provide your with a JavaScript solution.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Thank you for your help

Thomas A. Rowe said:
The best option then would be a database driven application, however someone else may be able to
provide your with a JavaScript solution.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Back
Top