> 
> I'm moving from Windows 2000 (IIS 5) to Windows Server 2003 
> (IIS6).  I'm
> unable to capture the output of a program using backticks in a CGI
> script.  I tried v5.6.1 build 631 and v5.8.8 build 819 with the same
> results.  Below is a trivial CGI script as an example.
> 
> use CGI ':standard';
> print header();
> print << "end_html";
> <html>
>   <head><title>Test</title></head>
>   <body>
>     <pre>
> end_html
> print `ping localhost`;


This is a guess but could it be that a web user does not have permission to 
ping, or possibly does not have ping in their Path?


> print "<br>Error: $!<br>\n";
> print << "end_html";
>     </pre>
>   </body>
> </html>
> end_html
> ;
> 
> Under IIS5 it displays the output of ping as expected and no 
> error ($!).
> Under IIS6 there is no output except for "Error: Bad file descriptor".
>  
> 
> Mark Edwards 
> HP Services     
> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>     
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to