Re: CGI, Multi-Part Forms, and HTTP::Daemon

2004-01-08 Thread Morbus Iff
$t->open($form_parameters); $CGI::Q = new CGI(); } else { $CGI::Q = new CGI($form_parameters); } } my $param = param("hello"); print "I saw: $param\n"; # my $f = param("thefile"); # print "t

Re: CGI, Multi-Part Forms, and HTTP::Daemon

2004-01-08 Thread Morbus Iff
rs = $r->uri; $form_parameters =~ s/[^\?]+\?(.*)/$1/; } else { $form_parameters = $r->content; } $CGI::Q = new CGI( ); my $param = param("hello"); print "I saw: $param\n"; } $c->close; undef($c); } -- Morbus Iff ( i

Re: CGI, Multi-Part Forms, and HTTP::Daemon

2004-01-08 Thread Morbus Iff
to "new CGI" - removing $form_parameters from the test code didn't help anything whatsoever. Neither did CONTENT_LENGTH. At this point, I'm definitely in need of advice - if I can't get this working, this client's entire project is pretty much scrapped :( -- Morbus If

Re: CGI, Multi-Part Forms, and HTTP::Daemon

2004-01-08 Thread Morbus Iff
environment variables that a webserver is *supposed* to set? Has anyone *ever* used CGI.pm and HTTP:: Daemon together with multi-part forms? -- Morbus Iff ( i put the demon back in codemonkey ) Culture: http://www.disobey.com/ and http://www.gamegrene.com/ Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Re: CGI, Multi-Part Forms, and HTTP::Daemon

2004-01-08 Thread Morbus Iff
a lack of CONTENT_TYPE. GET works fine. Creating your own HTML form with POST (be sure to replace the action with the correct URL): works correctly, but the minute you add enctype, it doesn't: -- Morbus Iff ( i put the demon back in codemonkey ) Culture: http://www

CGI, Multi-Part Forms, and HTTP::Daemon

2004-01-08 Thread Morbus Iff
gt;content; my $final = $request->content_type . "; boundary=$boundary"; $ENV{'CONTENT_TYPE'} = $final; Is there a proper way to do this? Is this even the correct solution to my problem (multiparts don't work)? A cursory glance into some of the MIME mod

Re: problems with libwww-perl 5.75

2003-11-12 Thread Morbus Iff
ver did test it on Panther. I do recall, however, being asked whether I wanted to create each of those aliases. -- Morbus Iff ( i desire penance for your sins ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMo