Are you running this as a ASP file?  This type of syntax should be run
though the ASP.DLL as an Active Server page.

This works for me as a ".asp" page. 

James Howarth
Incomnet Communications Inc.
Network Administrator
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

-----Original Message-----
From: Ciaran Carter [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 5:42 AM
To: [EMAIL PROTECTED]
Subject: Backticks (and qx) fail under 630 and perlis.dll on NT4


Hi

I have a problem and I wonder if anyone else has seen it. Using backticks 
or qx in an ASP or a .pl under perlis.dll hangs the script and IIS never 
returns anything. .pl files work correctly under perl.exe both on the 
command line and under IIS. system() seems to work fine.

<% @LANGUAGE=PerlScript %>
<%
$hostname = `hostname`;
$Response->Write("$hostname");
%>

Or

print "Content-type: text/html\n\n";
$hostname = `hostname`;
print $hostname;

Any help appreciated.

Ciaran

Internet Operations Manager
MM Group Ltd
Contact House, Feeder Rd
Bristol, UK
+44 (0)117 9168000
http://www.mmgroup.co.uk/

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to