It sounds foolish, but it does not seem to work.

I have two files in \cgi-bin same name, different extension.  One is .pl
which is associated with perl.exe by IIS5.  The other is .plx which is
associated with PerlIS.dll by IIS5.

Here is the code from the file.

#
#
# Shows an image
#
#
$params=shift;

$filetoshow='<IMG SRC='."$params".'>';

# response header - content-type, required
print "Content-type: text/html\n\n";  # next line must be blank

print<<Page_Done;
<HTML>
<HEAD><TITLE>Pictures</TITLE></HEAD>
<BODY>
<BR>
<BR>
<BR>
<CENTER>
$filetoshow
<BR>
</CENTER>
</BODY>
</HTML>

Page_Done

exit(0);

For the file with the .pl  extension,
http://computername/cgi-bin/showpic.pl?\graphics\finegraphic.gif works fine.
For the file with the .plx extension,
http://computername/cgi-bin/showpic.plx?\graphics\finegraphic.gif shows
nothing.

Can anyone help?

Scott F



_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to