I've written a custom module (say "dbConnect.PM") where the password is
hard-coded and is a return value from a function (e.g., "get_password()").
This module is not located in a publicly-accessible folder (i.e., not in
htdocs or cgi-bin). My scripts in the cgi-bin call this custom module's
functi
,
the output of CGI scripts to be parsed for Server Side Include directives
using the INCLUDES filter in mod_include. The module mod_ext_filter allows
external programs to act as filters in much the same way that CGI programs
can act as handlers.
Todd F.
- Original Message -
From: "
I think I remember this was to change with Apache 2.0. Does anybody
know if this is true or just wishful thinking?
Todd F.
>
> "Dale Young" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello all,
> >
> > I have been trying include a 'server side include' in a cgi script
u
I've used LWP to call cgi scripts like that. This example is probably more
complicated than it needs to be, because I had to use the POST method to
call the scripts I was running behind the scenes:
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Headers;
...
my $em = new CGI;
$em->delete_all;
$
I've used DATE_ADD function in MySQL for similar purposes:
"SELECT id, DATE_FORMAT(DATE_ADD(datecreated, INTERVAL 2 HOUR), '%c/%e/%y
at: %l:%i %p'), email, name, comments FROM $table_name order by id limit
$offset,10;"
Todd F.
- Original Message -
From: "David Gilden" <[EMAIL PROTECTED
That did the trick, thanks! Thanks to all who took time to help me out.
Todd
- Original Message -
From: "Bob Showalter" <[EMAIL PROTECTED]>
To: "'Webmaster'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 10:47 AM
Subject: RE: Custom 500 Error Script
> Webmast
It sounds like that is the issue.
Thanks!
Todd
-Original Message-
From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 28, 2002 3:48 AM
To: Todd Farmer
Cc: [EMAIL PROTECTED]
Subject: Re: HTTPS in LWP
From the docs (lwpcook):
"HTTPS
URLs
I'm having trouble getting a response using HTTPS in LWP. I get content
from the HTTP server, but when I change the URL to https://... it does not
return anything. Here's the code:
#!/usr/bin/perl
use CGI;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Headers;
my $q = new CGI;
my $em = new