Thank you for your responses. I'm a novice at this so apologies for not including the code. Here it is:
# Program name: hello.pl
print "Content-type: text/html\n\n";
print "<HTML><HEAD><TITLE> CGI/Perl First Try</TITLE></HEAD>\n";
print "<BODY BGCOLOR=Black TEXT=White>\n";
print "<H1><CENTER> Hello, World! </CENTER></H1>\n";
$mystuff = system(hello);
print "$mystuff\n";
print "</H2></BODY></HTML>\n";
In the command prompt, this works fine - obviously even displaying the <H1>, etc.. From a browser absolutely nothing - eventually timing out. The two .exe are in the same directory as where the .pl is.
Any ideas?
Thank you so much,
Mario
"Messenger, Mark" wrote:
_______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubsShow us your code, and we should be able to point you in the right direction :)
-----Original Message-----
From: Mario R. Sanchez [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 03, 2003 9:46 PM
To: [EMAIL PROTECTED]
Subject: executables under windowsHello,
In a legacy development environment, a simple 'hello world' .exe needs a
companion .exe to run. calling the hello_world.exe from perl (using
system(hello_world) or my $ipstuff = `hello_world`; print($ipstuff);)
work great from the dos prompt - hence the companion .exe is being
called properly automatically.when i try doing the same thing as a cgi script from a browser, nothing
ever happens - no matter where i put these two files.any suggestion how i can get these combo .exe's to work from a browser?
thanks!
mario sanchez
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
