#!/usr/bin/perl # ^ Path to Perl - May need to change to – #!/usr/local/bin/perl # Auto Box (autobox.cgi) - Version 1.0 - Released 9-30-2000 # by NESGamepro - http://www.wtv-zone.com/nesgamepro # Please leave credit intact # Instructions: # To install this script on your server, simply transload or beam # this file to your cgi enabled server, name it anything.cgi or # anything.pl, change the path to perl at the top (if script # not working, 500 error) and change permissions (CHMOD) # to 755 (if access denied, 401 error). # There are two way to put the link box in your page, # 1. With Server Side Includes(SSI) - preferred # # 2. With or - see notes # # # Notes: # *It is recommended that you try using SSI before using # or . Not all servers support SSI and it # can not be used in e-mail. Your host's help pages should # have information about using SSI. # •If you must use or to place the link box on # your page, it is not advisable to have the boxtype (first setting below) # set to web. The javascript in the page will cause strange effects. # Begin Settings # # #___________________________ ## Customize the select (link) box appearence -- 9 options # Where will this box be used – Values = web, mail, blank same as web $boxtype = "web"; $btntxt = "Go"; # Words on submit button - For "mail" type only $btntxtclr = "blue"; # Word color on submit button - For "mail" type only # Enter any text - leave blank to disable $firstOption="Choose One"; # Enter any attribute that would normally appear in a \n~; if ($firstOption ne "" && $firstOption ne " ") { print qq~