Hi, 
        Here's a script which has some two cells in the table.I want to
make 
        a change here. What I want is when I click the hyperlink it
should run the command
        'mstsc IP Address'(instead of telnet) so that I can remote
desktop to that machine.

        Can anybody help me how to do this ?

Thanx in advance,
Alok.

#!/usr/bin/perl -w

use CGI ;
use strict ;

my $cgi=new CGI ;

print $cgi->header() ;
print $cgi->start_html() ;

my $machine ; 


# Body Part
print $cgi->table({
                        -border=>5,
                        -width=>'25%', 
                        -height=>'10%'
                },
                $cgi->Tr({
                                                -align=>'left',
                                                -valign=>'top'
                                        }, 
                                        [
                                                $cgi->td([
                                                        '<A
HREF="telnet://16.180.107.20/">Cayennesansw1', 
                                                        '<A
HREF="telnet://16.180.107.19/">Cayennesansw2'
                                                        ]),
                                        ]
                        ),
                $cgi->caption("SAN Switches")                   
                ) ;

print $cgi->end_html() ;




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to