"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
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
"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
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
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
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
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,
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
> -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
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
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
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
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
> -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
&
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
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
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
17 matches
Mail list logo