🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.perlcgi.freelance
Article #15

where is the output ?????

#15
From: J�r�me MAS
Date: Tue, 15 Feb 2000 00:00
32 lines
1675 bytes
Hello,

An easy one for guru's

On NT this is my test.pl script.

$A = `ping COMPUTER`;
print $A;

From the command line, the output is the following

Pinging pc114 [192.168.1.114] avec 32 octets de donn�es :

R�ponse de 192.168.1.114 : octets=32 temps<10ms TTL=128
R�ponse de 192.168.1.114 : octets=32 temps<10ms TTL=128
R�ponse de 192.168.1.114 : octets=32 temps<10ms TTL=128
R�ponse de 192.168.1.114 : octets=32 temps<10ms TTL=128

Now I would like to run the same script through IIS4. I have set the
Application Setting with perl (.pl file). It seems to work fine. The
ping is executed but $A is empty. I have added those two lines to see the
result.

print "Content-type: text/html\n\n";
print "<H1> $A </H1>";

Nothing is displayed. Any Ideas ??????
I have choosen ping as an example. I would like to be able to do that with
any kind of command.
Thanks for your help

Jerome
Technical Details
Message-ID: <88ck1v$lmt$1@wanadoo.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fec76,c439201fc934aae0,start
X-Google-Attributes: gidfec76,public
X-Google-Thread: 112333,c439201fc934aae0,start
X-Google-Attributes: gid112333,public
From: "J�r�me MAS" <Jerome.MAS@wanadoo.fr>
Subject: where is the output ?????
Date: 2000/02/15
Message-ID: <88ck1v$lmt$1@wanadoo.fr>
X-Deja-AN: 586303546
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@wanadoo.fr
X-Trace: wanadoo.fr 950653823 22237 164.138.34.75 (15 Feb 2000 22:30:23 GMT)
Organization: Wanadoo, l'internet avec France Telecom
Reply-To: "J�r�me MAS" <Jerome.MAS@wanadoo.fr>
NNTP-Posting-Date: 15 Feb 2000 22:30:23 GMT
Newsgroups: alt.comp.perlcgi.freelance,fr.comp.lang.perl