If I run this under mod_perl:
#!/usr/bin/perl
use CGI::Carp;
die "Death by chocolate\n";
the Apache error log reads:
[Tue Aug 3 17:54:00 2004] [error] [Tue Aug 3 17:54:00 2004] null: Death by
chocolate
If I run it without mod_perl, it prints out the name of my script instead of
"null".
Why
On Tue, 3 Aug 2004, Steven W. Orr wrote:
Probably the funniest of all pies is the kiwi pie.
Of course, if Dan had been an adorable KDE hacker,
it would have had to be a QT Pie.
--
Chris Devers
you may groan now
___
Boston-pm mailing list
[EMAIL PROTECTED]
Alex Brelsfoard wrote:
As a side note, I do hope to elarn how to use ImageMagik at some point as
well. Any advice on this would be MUCH appreciated.
One thing you should do is join the image magick list:
http://studio.imagemagick.org/mailman/listinfo/magick-users
Cheers,
Mike
On Tuesday, Aug 3rd 2004 at 08:39 -0400, quoth Dan Sugalski:
=>At 12:08 AM -0400 8/3/04, Uri Guttman wrote:
=>> > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
=>>
=>> >> and yours truly purchased the pies and the beer (with funds from the
=>> tpf
=>> >> auction which had a group bid
I am not at all certain of what I did differently. I was playing around
with all of your suggestions. And one of my attempts ACTUALLY WORKED! So
thank you all very much for your help. I have tested it several times
now. If you are still curious and want to see what I've got (code), I'll
be hap
hi
( 04.08.03 10:28 -0400 ) Sean Quinlan:
> Now, I think someone mentioned mod_perl. mod_perl and CGI.pm are not, to
> the best of my knowledge, exclusive.
no, they are not. however, they both have their own unique file upload
APIs.
--
\js oblique strategy: get your neck massaged
__
I'm not sure why your code isn't working. It's a bit hard to debug,
because we're just seeing bits and pieces. Anyway, here's a simple example
that does work:
#!/usr/local/bin/perl -w
use strict;
use CGI;
my $cgi = new CGI;
print $cgi->header();
print <<"EndOfHTML";
File Upload Example
En
>Upon further testing I verified that the statement
>"my $picture = $query->upload("$file");"
>is indeed returning undefined.
>
>What would cause that?
Show us the entire HTML FORM that contains the file upload field.
___
Boston-pm mailing list
[EMAIL P
At 11:00 AM -0400 8/3/04, Uri Guttman wrote:
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
DS> I *did*. You put a lot of whipped cream on those things, and it
DS> doesn't take much to coat a contact lens. :-P
DS> I had a professional to consult beforehand. I really shoulda asked
D
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
DS> I *did*. You put a lot of whipped cream on those things, and it
DS> doesn't take much to coat a contact lens. :-P
DS> I had a professional to consult beforehand. I really shoulda asked
DS> what the right way to do this sort of thi
Upon further testing I verified that the statement
"my $picture = $query->upload("$file");"
is indeed returning undefined.
What would cause that?
I do know that $file DOES contain valid information (the correct name of
the field holding the file to be uploaded).
--Alex
>
> Thanks Richard, ev
Thanks Richard, everyone. I tried your (Richard) code also. It bombs
on "No File Specified". Looks like somehow it can't grab ahold of the
file I'm trying to upload. There must be something in the rest of my
cod that is interfering with all this. But I really can't imagine
what. The rest
On Mon, 2004-08-02 at 19:32, Alex Brelsfoard wrote:
> Ron, Sean,
>
> Thank you both. I will give it a try. Sean, no worries, I have a two-layered
> security system in place, and plenty of well-placed warnings. I'm perfectly happy
> using CGI.pm (and am currently on this project). But I a
> # Already did "" statement outside this function.
> my $picture = $query->upload("$file");
Perhaps something got cut out here - where did you get the $file
variable from? Did you use a CGI::filefield form to get the file name?
I'm assuming you have already read this, but just in
On 3 Aug 2004, at 9:25 AM, Alex Brelsfoard wrote:
hi
( 04.08.02 19:32 -0400 ) Alex Brelsfoard:
But I am a bit curious to know if there is a way to do this without
using CGI.pm.
sure, mod_perl [much faster, lighter]. the interface is a bit better
than CGI.pm, but not a whole lot. i just think it's a
> hi
>
> ( 04.08.02 19:32 -0400 ) Alex Brelsfoard:
>> But I am a bit curious to know if there is a way to do this without
>> using CGI.pm.
>
> sure, mod_perl [much faster, lighter]. the interface is a bit better
> than CGI.pm, but not a whole lot. i just think it's a tricky thing to be
> doing anyw
At 12:08 AM -0400 8/3/04, Uri Guttman wrote:
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
>> and yours truly purchased the pies and the beer (with funds from the tpf
>> auction which had a group bid of $520 for us to also pie dan). they
>> were coconut cream and chocolate cream an
hi
( 04.08.02 19:32 -0400 ) Alex Brelsfoard:
> But I am a bit curious to know if there is a way to do this without
> using CGI.pm.
sure, mod_perl [much faster, lighter]. the interface is a bit better
than CGI.pm, but not a whole lot. i just think it's a tricky thing to be
doing anyway [uploading
18 matches
Mail list logo