Code example for displaying a certain page

I would like help with code that will create a login box that will accept a 4 or 5 number code as input, and then display a linked page from the server.

I will give the client their secret code, and when they come to the site and enter their code, they will be redirected to a page specific to them that I have loaded. Would this be very complicated? Is there a way to make it simpler? Thanks for considering my question.

[434 byte] By [DeSpiritJavaWifea] at [2007-11-26 14:30:38]
# 1
Hi,What you are trying to do wouldnt be too difficult.It would the same methdology which redirects a user on clicking to a certain link.Inspite a link to certain page you would be identifying the page by a number.thanks.
Mudita at 2007-7-8 2:25:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Wouldn't it require some sort of "if...else" loop? "If" code number is "x" then link to "y." If code number is "a" then link to "b." That would be so cumbersome. Is there another way?
DeSpiritJavaWifea at 2007-7-8 2:25:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
better u dymanicaly generate the page than use the if blocks
Sabeer_Anchemparuthya at 2007-7-8 2:25:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...