$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
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
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
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
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
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
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