Re: Apache::Upload bug?

2001-08-09 Thread Joe Schaefer
"Jeffrey Hartmann" <[EMAIL PROTECTED]> writes: > After much tracing I found that the problem occurs in the command "my > $fh = $file->fh;" where Apache::Upload dup()'s the filehandle and > passed the duplicate to the perl script. Then when the program exits > the perl script still has an open fi

Re: Apache::Upload and Image::Magick problems

2001-08-06 Thread Jeffrey Hartmann
quot;/tmp/apreqT2TdFO") = 0 close(32) = -1 EBADF (Bad file descriptor) - END OF PROGRAM OUTPUT --- - Original Message - From: "Joe Schaefer" <[EMAIL PROTECTED]> To: "Jeffrey Hartmann" <[EMAIL PRO

Re: Apache::Upload and Image::Magick problems

2001-08-06 Thread Joe Schaefer
"Jeffrey Hartmann" <[EMAIL PROTECTED]> writes: > 2). Apache::Upload seams to delete it's temp file, however when I run "df" > the memory that file used is still allocated but there are no files in the > /tmp dir. I've commented out all of the Image::Magick code in that block so > that Image::Ma

Re: Apache::Upload filehandle

2001-08-01 Thread Doug MacEachern
On Fri, 13 Jul 2001, Jay Buffington wrote: > Okay, that didn't fix the problem, but I have figured it out. > > Apache::Upload returns the filehandle as being blessed into Apache::Upload. >Whenever I send the filehandle to Image::Magick it thinks that it is a url of type >Apache: (kind of li

Re: Apache::Upload filehandle

2001-07-13 Thread Jay Buffington
Okay, that didn't fix the problem, but I have figured it out. Apache::Upload returns the filehandle as being blessed into Apache::Upload. Whenever I send the filehandle to Image::Magick it thinks that it is a url of type Apache: (kind of like file: or http:). If I bless the filehandle into

Re: Apache::Upload filehandle

2001-07-12 Thread darren chamberlain
Jay Buffington <[EMAIL PROTECTED]> said something to this effect on 07/11/2001: > I'm trying to use image magick to manipulate images that are > uploaded via http. To handle the uploaded images I'm using > libapreq's Apache::Upload. > > I wrote the below simple example script to help explain my

Re: Apache::Upload buffering issues?

2000-08-15 Thread ___cliff rayman___
Ian Mahuron wrote: > What is the proper way to take the filehandle provided by $upload->fh and write the >file to disk? I seem to be having buffering > issues w/ the following (file is truncated): > > if (open(OUTFILE, ">$u_fullpath")) { > print OUTFILE $buffer while read($fh, $buffer,

Re: Apache::Upload buffering issues?

2000-08-15 Thread Ken Y. Clark
On Tue, 15 Aug 2000, Ian Mahuron wrote: > What is the proper way to take the filehandle provided by $upload->fh and write the >file to disk? I seem to be having buffering > issues w/ the following (file is truncated): > > if (open(OUTFILE, ">$u_fullpath")) { > print OUTFILE $buffer while

RE: Apache::Upload ?

2000-06-29 Thread Geoffrey Young
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 28, 2000 5:46 PM > To: Geoffrey Young > Cc: [EMAIL PROTECTED] > Subject: Re: Apache::Upload ? > > > Geoffrey Young wrote: > > > > the documentatio

Re: Apache::Upload ?

2000-06-28 Thread Greg Cope
Geoffrey Young wrote: > > > I think lots of people are hoping libapreq gets integrated into the > mod_perl-2.0 distribution :) > > --Geoff excellent idea - What does everyone else think (Doug ?) Greg Cope

Re: Apache::Upload ?

2000-06-28 Thread drfrog
h = $upload->fh; > my $lines = 0; > while(<$fh>) { > ++$lines; > ... > } > > HTH > > --Geoff > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, June 28, 2000 3:31 PM > > T

RE: Apache::Upload ?

2000-06-28 Thread Geoffrey Young
Geoff > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 28, 2000 3:31 PM > To: Geoffrey Young > Cc: 'Casey Bristow'; [EMAIL PROTECTED] > Subject: Re: Apache::Upload ? > > > i to need an upload solution > &g

Re: Apache::Upload ?

2000-06-28 Thread drfrog
i to need an upload solution to get Apache::Request::upload in i just cpan'd it down as install Bundle::Apache there was quite a few dependencies that it needed i then restarted apache and perl-status had it in there now my question is does anyone have a example script using this upload featur

RE: Apache::Upload ?

2000-06-28 Thread Geoffrey Young
> -Original Message- > From: Casey Bristow [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 27, 2000 6:07 PM > To: [EMAIL PROTECTED] > Subject: Re: Apache::Upload ? > > > > I can answer this one myself.. I was doing something > stupid.. I missed &

Re: Apache::Upload ?

2000-06-27 Thread Casey Bristow
I can answer this one myself.. I was doing something stupid.. I missed the "perl -MCPAN -e 'install Bundle::Apache'" step.. sorry to spam the list.. even more humbled.. -Casey On Tue, 27 Jun 2000, Casey Bristow wrote: > > Thanks for the pointer.. the only hitch I am running in

Re: Apache::Upload ?

2000-06-27 Thread Casey Bristow
Thanks for the pointer.. the only hitch I am running into is: when I do a 'perldoc Apache::Request' on my system, I get our friendly No documentation found for "Apache::Request". I *know* I am using the perldoc for the version of perl that has mod_perl installed.. if I do 'p

Re: Apache::Upload ?

2000-06-27 Thread Tobias Hoellrich
Take a look at Apache::Request which is what you want. The documentation for Apache::Upload is contained in the 'perldoc Apache::Request' . Hope this helps Tobias At 02:17 PM 6/27/00 -0600, Casey Bristow wrote: > > howdy. > > one of the requirement of the system that I'm developing, is the abil