Re: cgi report from another server

2002-06-13 Thread David vd Geer Inhuur tbv IPlib
Hi Martin, This is because you didn't use the back-tick's : $stuff=`rsh server2 -l user /bin/uname -X`; (Don't mix them up with the <'> ); This will actualy execute the command, currently you only set a var. Also system() and exec() could help you out. Regs David > > Hi everybody, > > I don

cgi report from another server

2002-06-13 Thread Martin Pestun
Hi everybody, I don't know to solve this CGI problem: My CGI script run on the one server1 and I want get the result from another server2 like this: #!/usr/local/bin/perl -w $delay = 10; $date = "/bin/date"; $stuff="rsh server2 -l user /bin/uname -X"; print "Refresh: ", $delay, "\n"; print "Con