[Home]   i n s t r u c t i o n s
< back to index       Redirect CGI
 
i n f o
   about us
   technical
   payment
   contact

s e r v i c e s
   packages
   server
   design
   sign up

s u p p o r t
   instructions
   F.A.Q.
   password

m i s c
   resellers
   offers
   free

h o m e

  The redirection CGI is useful for having a pull-down navigation menu without using javascript. It can redirect you to any URL, and specify any window target.

Example usage

 
<form action="/bin/nph-redir.cgi" method="get"> 
Please select a product category:<br> 
<select name="dest"> 
<option value="/products/handbags.html">Handbags 
<option value="/products/shoes.html">Shoes 
<option value="/products/belts.html">Belts 
<option value="http://www.manufacturer.com/">Manufacturer's site 
</select> 

note: the attribute name="dest" and action="/bin/nph-redir.cgi"cannot be named any other way for this cgi to work.

Frame/window targeting:

Adding target="frame_name" to the <form> tag, like:
<form action="/bin/nph-redir.cgi" method="get" target="main">

It will then redirect to the frame named main. Other options include "_blank" which wil open a new window, and "_top" which will break out of frames.

 

 
TOPICS
getting started
domain registration | mail forwarding | checking mail | uploading your site
basic features
web stats | hit counters | form-to-mail cgi | redirect cgi | autoresponders |
basic mailing lists | advanced mailing lists | search engine submission | frontpage extensions | password protected directory | custom error pages | subdomains
advanced features
cgi scripts | server-side includes | php | mysql |

 
All your hosting dreams come true!
P R O F E S S I O N A L
hkhosting.com
W E B   S E R V I C E S

Copyright © 1999-2003 HK Hosting Ltd. All rights reserved. Terms & Conditions