I really appreciate if someone could help me with my code. Thanks$address = $ENV{'REMOTE_HOST'}; $ipaddress = $ENV{'REMOTE_ADDR'}; $redirect = "telnet://" .$ipaddress ; if ( $in{'port'} ne "" ) { $redirect .= "telnet://" . $port; } $redirect .= "/"; print "Content-type: text/html\n"; print "Location: $redirect\n\n"; print "You should have been redirected to <a href=\"$redirect\">$redir +ect</a>"; exit;
In reply to direct to multiple IP addresses by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |