🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: where is the output ?????

#13
From: Maurice van Vugt
Date: Sun, 20 Feb 2000 00:00
44 lines
1977 bytes
Hi. You tried this:
print "<H1> $A </H1>";

Well, try : print"<H1> $A </H1>\n";

maybe this will work?.
 c-ya.

J�r�me MAS <Jerome.MAS@wanadoo.fr> schreef in berichtnieuws
88ck1v$lmt$1@wanadoo.fr...
> 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: <EKRr4.114104$TE6.1061189@typhoon.chello.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <88ck1v$lmt$1@wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 112333,c439201fc934aae0
X-Google-Attributes: gid112333,public
X-Google-Thread: fec76,c439201fc934aae0
X-Google-Attributes: gidfec76,public
From: "Maurice van Vugt" <m.vugt@chello.nl>
Subject: Re: where is the output ?????
Date: 2000/02/20
Message-ID: <EKRr4.114104$TE6.1061189@typhoon.chello.nl>
X-Deja-AN: 587634907
References: <88ck1v$lmt$1@wanadoo.fr>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@chello.nl
X-Trace: typhoon.chello.nl 951052324 212.187.71.153 (Sun, 20 Feb 2000 14:12:04 MET)
Organization: "Chello Netherlands"
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sun, 20 Feb 2000 14:12:04 MET
Newsgroups: alt.comp.perlcgi.freelance,fr.comp.lang.perl