I've got a form that looks sort of like this: <form action="testme.epl" method="post" enctype="multipart/form-data"> <input type="file" name="upfile" accept="text/html"> <input type="submit" name="Upload" value="Upload"> </form>
I want to have this form post to an EmbPerl script that will accept the upload and put it into a file. I've done this sort of thing before in a Perl CGI script, but I need to do it in EmbPerl if at all possible. In $fdat, I'm seeing the following: upfile=filename.html -upfile=HASH(0x8d5f10c) If I look at the -upfile hash, it is something like: Content-Disposition=form-data; name="upfile"; filename="filename.html" Content-Type=text/html My question is, where are the contents of the file going? I would have expected to see it either in $fdat or in the -upfile hash somewhere, but it doesn't appear to be getting there. BTW, this is in EmbPerl 1.3.4 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
