perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sully" <sull...@rogers.com>
Subject RE: Some wierd problem with mod_perl and Apache
Date Mon, 05 Aug 2002 18:10:18 GMT
I'm just wondering if there's a better workaround than adding CGI.pm to the mix at this point.
Anyone have any ideas?


S. Syed

On 8/5/2002 at 1:46 PM pandit_tushar@emc.com wrote:


>use CGI qw(:standard);
>
>	my $q = CGI->new;
>      my $oldpass = $q->param('password');
>      my $newpass = $q->param('newpassword');
>      my $confirmpass = $q->param('confirmpassword');
>
>
>
>I guess there are other ways, bu this works for me fine.
>
>
>-Tushar
>
>-----Original Message-----
>From: sully [mailto:sully-s@rogers.com]
>Sent: Monday, August 05, 2002 1:45 PM
>To: modperl@perl.apache.org
>Cc: pandit_tushar@emc.com
>Subject: RE: Some wierd problem with mod_perl and Apache
>
>
>Interesting. How did you write the workaround? A copy of the new
>input-taking code would be much appreciated.
>
>
>S. Syed
>
>On 8/5/2002 at 12:36 PM pandit_tushar@emc.com wrote:
>
>
>>It was $_ that I was using that messed me. Thanks for pointing this
>>out to me. Other than that, things work just fine.
>>
>>
>>-Tushar
>>
>>
>>-----Original Message-----
>>From: Ged Haywood [mailto:ged@www2.jubileegroup.co.uk]
>>Sent: Saturday, August 03, 2002 2:04 PM
>>To: pandit_tushar@emc.com
>>Cc: mod_perl Mailing List
>>Subject: RE: Some wierd problem with mod_perl and Apache
>>
>>
>>Hi there,
>>
>>On Sat, 3 Aug 2002 pandit_tushar@emc.com wrote:
>>
>>> Would like to know if someone can see any obvious problems here:
>>> 
>>> package Apache::ChangePassword;
>>> 
>>> use strict;
>>> use Apache::Constants qw(:common);
>>> use CGI '-autoload';
>>
>>Well I wouldn't use CGI.pm just to  call param().
>>
>>> sometimes....even though I enter all the values [snip]
>>> and press the change passwd button,
>>
>>Have you checked that you are getting the expected request from the
>>browser?
>>
>>> when I am printin the values of
>>> $oldpass/$newpass1/$confirmpass
>>> they are all 0.
>>
>>> Other times...this works just fine...
>>
>>Have you read "Sometimes it works...?"
>>
>>> Am I messing with my global variables here ?
>>
>>Have you checked what's in $_ ?
>>
>>Have you tried 'httpd -X' ?
>>
>>73,
>>Ged.
>
>
>
>----------------------------------------------------------------------------
>----------------------
>"A computer lets you make more mistakes faster than any invention 
>in human history - with the possible exceptions of handguns and 
>tequila." 						
>                                                -- Mitch Ratliffe



--------------------------------------------------------------------------------------------------
"A computer lets you make more mistakes faster than any invention 
in human history - with the possible exceptions of handguns and 
tequila." 						
                                                -- Mitch Ratliffe


Mime
View raw message