Tue Apr 05, 2011 9:58 pm
<!--
Note it take the action the script name.
-->
<form action = "<%= Request.ServerVariables("SCRIPT_NAME")%>" >
<input type = "radio" name = "selectParam" value = "redirect1" checked="checked">
Visit Home Page<br>
<input type = "radio" name = "selectParam" value = "redirect2">
Visit Forums<br>
<input type = "radio" name = "selectParam" value = "redirect3">
Visit Contact Us.<br>
<input type = "submit" value = "Visit">
</form>
<%
'get the parameter sent.
strSelectedPage = Request.Form("selectParam")
'depending on the users selection redirect to that page
Select Case lcase(strSelectedPage)
Case "redirect1"
Response.Redirect "index.php"
Case "redirect2"
Response.Redirect "forums.php"
Case "redirect3"
Response.Redirect "contactUs.php"
End Select
%>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.