CGI versus Apache::Request -- confusion

2008-01-30 Thread Mag Gam
Hi All, I am bit confused. While reading the mod_perl book, I noticed they are using Apache::Request versus CGI for form data handling. Why is that? Is it recommended to use Apache over CGI? Any advantages? I am using CGI because its a standard module. TIA

Re: a mp/perl equivalent to sendmail.php?

2008-01-30 Thread Perrin Harkins
On Jan 28, 2008 6:19 PM, Carl Brewer <[EMAIL PROTECTED]> wrote: > I have a client who wants to send email from a flash script (do you call > flash stuff scripts?), and he has asked me to install sendmail.php for > him. I don't want to! Can anyone here recommend a modperl (or just > plain perl) eq

Re: a mp/perl equivalent to sendmail.php?

2008-01-30 Thread Boysenberry Payne
I would suggest looking into the Email set of modules, e.g. Email::Simple. As far as security is concerned, try something like an email address confirmation with user authentication. I think that's the most common approach. For example, require the user confirms their email address as a pa

[mp2] [bug?] %ENV changes not propagated to qx() and to C-library calls.

2008-01-30 Thread B Wooster
Looks like mod_perl scripts execute the line that changes $ENV{PATH}, but when a qx() back-tick command is executed, that command is executed under the value of the original path. The docs seem to suggest that that changes to %ENV should work fine: http://perl.apache.org/docs/2.0/user/coding/cod

Re: [MP2] [QUESTION] authentication modules (reuse of mod_auth_basic, mod_auth_digest, mod_auth_ntlm) and cookies

2008-01-30 Thread Rolf Schaufelberger
Am Dienstag 29 Januar 2008 10:51:00 schrieb titetluc titetluc: > Hello all Apache mod_perl2 module experts (I am a newbie with Apache), > > Hope I am clear in my explanations (my English is not so good and I had a > lot of problems explaining my needs by mail. I am not sure that everybody > will re

Re: [MP2] [QUESTION] authentication modules (reuse of mod_auth_basic, mod_auth_digest, mod_auth_ntlm) and cookies

2008-01-30 Thread Torsten Foertsch
On Wed 30 Jan 2008, titetluc titetluc wrote: > This would mean that : > . MySessionModuleVerifyCookie  would be first called, verifying if the > cookie is present and correct > . If no cookie, then basic authent is requested > . if basic authent ok, then MySessionModuleGenerateCookie generates a va

Re: [MP2] [QUESTION] authentication modules (reuse of mod_auth_basic, mod_auth_digest, mod_auth_ntlm) and cookies

2008-01-30 Thread titetluc titetluc
Thank you for your answer Rafael My comments are below 2008/1/29, Rafael Caceres <[EMAIL PROTECTED]>: > > Gaetan: > > On Tue, 2008-01-29 at 10:51 +0100, titetluc titetluc wrote: > > Hello all Apache mod_perl2 module experts (I am a newbie with Apache), > > > > Hope I am clear in my explanations (