Apache::Request simply maps the Apache object into an Apache::Request
object (I know that sounds like double-speak, but it's late), and adds
some extra methods. I don't think that's what Vijay's original
question is all about.
What's needed is an HTTP::Request object. Look at LWP::UserAgent
If you're in a modperl enviroment, and don't use CGI.pm, try using
Apache::Request (I'm not a fan of using Apache.pm for too much). Has
anyone ever considered making a wrapper for all the modules which get
back data from the request (roll Apache::Request, Apache::Cookie, etc,
into one)? Seems tr
Please ignore my previous message,
I let this message go out to the wrong mailing list.
I down loaded the CVS file apache-1.3_2825041201.tar.gz and attempted a
make, that included:
--add-module=/usr/src/mod_layout-2.3/mod_layout.c
It expects src/include/alloc.h
I noticed that this header fil
I down loaded the CVS file apache-1.3_2825041201.tar.gz and attempted a
make, that included:
--add-module=/usr/src/mod_layout-2.3/mod_layout.c
It expects src/include/alloc.h
I noticed that this header file was included in the apache_1.3.12
distribution.
Is the file missing?
Hello,
I want to get data from an external url in my perl program (either thru
Embperl Execute or directly from perl). What I need is like this.
There is a URL which gives some information in text format. I want to get
that into a variable or file using perl and using my own html templates, I
wa
On Aug 25, 2000 at 21:25:59 -0400, Rick Myers twiddled the keys to say:
> On Aug 25, 2000 at 21:02:32 -0400, Billy Donahue twiddled the keys to say:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Fri, 25 Aug 2000, Rick Myers wrote:
> >
> > > From: Rick Myers <[EMAIL PROTECTED]>
I have a module with some code like this:
package Object;
sub new {
On Aug 25, 2000 at 21:02:32 -0400, Billy Donahue twiddled the keys to say:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Fri, 25 Aug 2000, Rick Myers wrote:
>
> > From: Rick Myers <[EMAIL PROTECTED]>
> >
> > On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, 25 Aug 2000, Rick Myers wrote:
> From: Rick Myers <[EMAIL PROTECTED]>
>
> On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say:
> > [EMAIL PROTECTED] (Rick Myers) wrote:
> > >
> > >+++$lines while defined ;
> >
> > T
On Aug 24, 2000 at 23:15:15 -0500, Ken Williams twiddled the keys to say:
> [EMAIL PROTECTED] (Rick Myers) wrote:
> >On Aug 24, 2000 at 01:15:57 -0500, Ken Williams twiddled the keys to say:
> >> The following patch eliminates a warning during 'make test' about 'Value
> >> of construct can be "0"
Alex Menendez wrote:
> is there any limit to the size of a GET request url when it is generated
> from inside a mod_perl module? I have a POST cgi coming in with a bunch of
> data and I would like to turn it into a GET url so I can effectively use
> lookup_uri and run from the Apache::SubRequest c
Hey there! I am sending this one note to this group to see if I can get
some great perl developers interested in joining our team. Perl is the
language of choice on Linux for our development and we foster a
flexible, friendly environment. Thanks in advance for your time.
Zack Network is a venture
On Tue, 18 Jul 2000 11:21:15 PDT, [EMAIL PROTECTED] wrote:
>Full_Name:
>Version: ActivePerl 616
>OS: Windows NT 4.0 SP 4 or lower
>Submission from: (NULL) (155.229.70.9)
>
>
>is there a way to get mod_perl for Apache to work with ActivePerl?
mod_perl apparently doesn't know anything about ithrea
[This message bounced last time I sent it, so I'm trying again.]
[EMAIL PROTECTED] (Ken Williams) wrote:
> ... *crickets* ...
>
>Here's a patch for the implementation I'm looking for.
And here's a better one. I discovered that Apache->request($r) doesn't
work as expected (see my previous mes
I'm not sure about this but the problem might be that CGI is attempting to
read the POST data first, and since POST data can only be read from the
socket once, $r->content hangs.
You might want to look into either
1. caching POSTed Data:
http://perl.apache.org/guide/snippets.html#Caching_POSTed_
While writing an apache module, using mod_perl 1.24, I followed the
instructions in my "Writing Apache Modules with Perl and C" book. The
book told me to get at all parameters,
my %params;
my @args = ($r->args, $r->content); # This line is the line in question.
while (my
hello, all
is there any limit to the size of a GET request url when it is generated
from inside a mod_perl module? I have a POST cgi coming in with a bunch of
data and I would like to turn it into a GET url so I can effectively use
lookup_uri and run from the Apache::SubRequest class.
I know
Hello Jay,
This is actually a documented problem with DBD::Informix and blobs;
DBD::Informix cannot update a blob ("TEXT") field in a query, and the only
current workaround is to do a delete, then insert. I have attached the
relevant section from the DBD::Informix man page. This would probably
I have no experience with Informix, but perhaps you need to store the
data as binary? The Apache::Session::Sybase module stores the data in
an IMAGE (rather than TEXT) field and does the necessary pack/unpack
to convert the data behind the scenes. Maybe you could do something
similar with Informix
I've been fighting with Apache::Session and Informix... I've been using
Apache::Session ver 1.03 (knowing that 1.5x isn't "appropriate" for
informix) and Informix Dynamic server 2000 9.2. Everything else is the
latest version, and on suse 6.4
At first it would hang up when trying to re-tie to a
just to note for the newer users, Apache::Cookie is part of libapreq, not
the standard mod_perl package... you can get it at
http://www.perl.com/CPAN-local/modules/by-module/Apache/libapreq-0.31.tar.gz
or any other CPAN mirror...
--Geoff
> -Original Message-
> From: Alex Menendez [ma
On Fri, Aug 25, 2000 at 08:28:36AM -0400, Graham, Brian wrote:
> Hello everyone,
>
> I don't think this is a "modperl" problem but I am at my wits end and
> struggling to get modperl installed.
>
> On AIX 4.3.3 S70 multi CPU machine with the IBM C compiler (don't know what
> version) I have done
you can also use Apache::Cookie
and do something like this:
my $cookie = Apache::Cookie->new($r,
-name=> 'q_string',
-value => $value,
-expires => '+3h',
well, since this is the mod_perl mailing list :)
my $r = Apache->request;
$r->headers_out->add('Set-Cookie' => "cookie a stuff");
$r->headers_out->add('Set-Cookie' => "cookie b stuff");
should work ok...
HTH
--Geoff
> -Original Message-
> From: Matthias Hanns [mailto:[EMAIL PROTECTED]
Hi all together,
when I want to set one cookie I use the following way:
...
my $cookie = CGI::cookie( ... ); # or with OO: my $q = new CGI; my
$cookie = $q->cookie( ... );
...
print CGI::header($cookie);
...
Now my question: How I can set more then one cookie? Any hints, where I can
read or
Benoit Caron wrote:
>
> sub UNIVERSAL::AUTOLOAD {
>my $class = shift;
>warn "$class can't \$UNIVERSAL::AUTOLOAD!\n";
> }
>
> to trap the memory leaking that can occur if a sub is undefined. But
> where should I put this sub? In all my mod-perl module
| No, it doesn't seem to be going forward at the moment. Ime Smits says he
has something put
| together that's _almost_ usable, but needs help building perl equivalents
of all the VBScript
| functions. I'm still waiting on his initiative to get going...
| Note to Ime: This is not a criticism di
Title: Help compiling!
Hello everyone,
I don't think this is a "modperl" problem but I am at my wits end and struggling to get modperl installed.
On AIX 4.3.3 S70 multi CPU machine with the IBM C compiler (don't know what version) I have done the following:
Downloaded and installed perl5
How do you set expires in ASP cookies?
I tried, and various other ways too. Even nodeworks.com wouldn't work for
me. Thanks.
$expires=&HTTP::Date::time2str(time()+86400);
$Response->{Cookies}{'username','Expires', '$expires'} =
$Request->Form('username');
$Response->{Cookies}{'password'} = $Requ
29 matches
Mail list logo