[Xitami] Re: ActivePerl & Xitami - CGI problems Continued

Peter van der Goes xitami@lists.xitami.org
Tue, 24 Sep 2002 11:02:07 -0500


Hi! Sorry not have answered you before. See below in context.
----- Original Message -----
From: "Patricko" <polson1@adelphia.net>
To: <xitami@lists.xitami.org>
Sent: Tuesday, September 24, 2002 10:15 AM
Subject: Re: [Xitami] Re: ActivePerl & Xitami - CGI problems Continued


> #!/usr/bin/perl
>  use strict;
>  use CGI qw(:standard);
>  use CGI::Carp "fatalsToBrowser";
> print header;
>  my $animal;
>  $animal = param('animal');
> print "Show me the $animal<br><br>";
> print "Hello, World...<br>";
>
> Are you going insane yet :)

Oh yes! I've started talking to myself 8).

> hey try the above

I just tried it. Exactly the same blank page is returned.

> did you check your tmp directory for the
> pipe0233.cgo
> pipe0233.cgi

Ah, just figured out you mean my \Windows\Temp directory?

I don't see those file names, but I *do* see pipe0014.cgo and pipe0014.cgi
(along with several pairs with lower numbers) The .cgi has in it (if I use
POST, if I use GET the file is empty) animal=bird. The .cgo is empty. There
is also a like-named .flt file which is also empty.
Now, when I run the self-contained cgitest.pl, the .cgi and .cgo contents
are *very* different, and contain (in the case of the .cgo) all the stuff I
want in the browser. Let me guess: this means that the called script is
*not* being run?

>
> what editor are you using ?

I use TextPad (great for Java, BTW).

>
> are we having fun yet?

I guess so, because I believe we are actually homing in in the problem. One
of the tougher nuts I've tried to crack. Windows C++ application problems
pale by comparison 8).

Thanks once more for sticking with me!
>
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>