Re: Problem reading from STDIN

2000-11-08 Thread G.W. Haywood

Hi there,

On Wed, 8 Nov 2000, Pramod Sokke wrote:

> there are lot there that seem to indicate that the only way to
> access STDIN under mod_perl is to use Apache::Request.
> Is that right?

If your code is clean I'm sure you'll be able to use Apache::Registry
and things should work just as if you were using CGI.

See the 'Porting' section of the Guide for more info about STDIN (and
grep for "use strict" while you're at it:).

73,
Ged.




Re: Problem reading from STDIN

2000-11-08 Thread Pramod Sokke

No I don't have the  directive.
Also, I read a couple of other similar questions on the list. While I didn't
find anything specific to this question, there are lot there that seem to
indicate that the only way to access STDIN under mod_perl is to use
Apache::Request.
Is that right? Does this mean I have to change our legacy code to reflect
this?
Thanks,
Pramod

- Original Message -
From: G.W. Haywood <[EMAIL PROTECTED]>
To: Pramod Sokke <[EMAIL PROTECTED]>
Cc: modperl <[EMAIL PROTECTED]>
Sent: Wednesday, November 08, 2000 9:26 AM
Subject: Re: Problem reading from STDIN


> Hi there,
>
> On Tue, 7 Nov 2000, Pramod Sokke wrote:
>
> > I'm not able to read anything from stdin at all.
>
> Have you got a  directive somewhere in the config?
>
> 73,
> Ged.
>




Re: Problem reading from STDIN

2000-11-08 Thread G.W. Haywood

Hi there,

On Tue, 7 Nov 2000, Pramod Sokke wrote:

> I'm not able to read anything from stdin at all.

Have you got a  directive somewhere in the config?

73,
Ged.




Problem reading from STDIN

2000-11-07 Thread Pramod Sokke




Hi all,
 
We've moved all our old perl cgi scripts to run 
under mod_perl(PerlRun) now.
There's a peculiar problem I'm seeing with POST 
requests. Basically, I'm not able to read anything from stdin at 
all.
For eg, if I just have a form that takes some data, 
that data is just not available at all.
I know this is a very fundamental thing, but I'm 
definitely missing something here.
Could anybody please throw some light on 
this?
 
mod_perl 1.24/Apache 1.3.12/Perl 
5.005_03
 
Thanks,
Pramod