Hello.
Before Apache::DBI installation I'd using just DBI & PgPP for
connecting with my PostgreSQL DataBase:
$user = "owner";
$password = "pwd";
$data_source = "dbi:PgPP:mypgdb;localhost;5432";
$dbh = DBI->connect($data_source, $user, $password);
$sth = $dbh->prepare( q{ SELECT ... FROM ... });
What is $pool in:
APR::Request::Custom->handle($pool,
$query_string,
$cookie_header,
$parser,
$read_limit,
$brigade)
and how do I get each of the values for this?
Should I use:
APR::Request->handle( ... );
or the above?
Right now I'm doing the following:
sub handle {
$r = shift;
# uploads
yes - thanks
i had figured that out but also - as i turns out - it was the redhat setup too
in the end i ended up having to uninstall and reinstall apache,
mod_perl *and* upgrade CGI.pm modules to get everything working
properly
thanks for everyone's help
a.r.
On 11/11/05, Tom Schindl <[EMAIL
Never mind I guess Apache2::Upload is what I'm looking for...
Thanks,
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Nov 11, 2005, at 2:47 PM, Boysenberry Payne wrote:
I forgot I'm using Apache2 and MP2.
Is there a way to handle file uploads using apreq2?
Boysenberry
boysen
I forgot I'm using Apache2 and MP2.
Is there a way to handle file uploads using apreq2?
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Nov 11, 2005, at 2:36 PM, Boysenberry Payne wrote:
I'm getting an undefined value from the code below:
$CGI::DISABLE_UPLOADS = 0;
$CGI::POS
I'm getting an undefined value from the code below:
$CGI::DISABLE_UPLOADS = 0;
$CGI::POST_MAX = 100 * 1_048_576; # 100 MB
my $cgi = new CGI;
print "Size: $ENV{CONTENT_LENGTH}";
my $cgi_file = $cgi->param( "uploaded_file" ) || print "Error Upload Failed No File Recieved...";
my $fh = $cgi->uplo
solved it... But there's a new mystery...
I was returning DECLINED in my Auth handler when the
following subroutine showed a user had disconnected...
sub client_still_connected
{
my $self = shift; #subclassed Apache::Request
my $conn = $self->connection;
my $is_connected = $conn->abo
I'm seeing this error in the logfiles...
configuration error: couldn't check user. No user
file?:
Any ideas what might cause it... it is appearing on
different webpages... seems to be during large POST's.
We've just changed from Basic to Cookie based Auth...
Marty
_
Yes because it does exists any more. All modules have been moved to
Apache2-Namespace. Take a look into your httpd.conf to see if if this
module is referenced somewhere and remove this line.
Maybe it's in an PerlRequire remove it there also.
http://perl.apache.org/docs/2.0/rename.html
Tom
Abul