Hello,

First of all, thank you for your help.
But I still have a problem. When I use ns_getform to get the form, I don't
have any fields on the set. I think this is because of the
"enctype='multipart/form-data'".
If I use this enctype in any form, no matter the kind of fields in it, I
can't retrieve the content of that form. If I use "ns_conn form" instead, to
retrieve a form with an input type='file', I get just one field with a very
strange name/value...
I wonder if any one could help me solving this problem.

Thanks once more.

Frank


-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of Tuncay Baskan
Sent: quinta-feira, 5 de Abril de 2001 15:59
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Retrieving files from form's...


Hi,

<form enctype='multipart/form-data' method=POST>
  <input type=file name=img1>
  <input type=file name=img2>
</form>

When you do a ns_getform in your handler, form set should have the
following keys:
img1.content-type
img1.tmpfile
img2.content-type
img2.tmpfile

You can get them with "ns_set get" command.


On 2001.04.05 17:02:50 +0300 Franclim Félix Bento wrote:
> Hi,
>
> I've one doubt (not realy just one but for now :-)...
> When I want to retrieve a file content posted in a form with more than
> just
> one input field of the type "file", what should I do ?
>
> Thanks
>
--
Tuncay Baskan.
IT Manager @ Paramedya.com

Reply via email to