Well folks,

Of course the answer was all too simple, so hopefully this one will help 
someone someday in archives.
When I use this:

[FORM ENCTYPE="multipart/form-data"]
[INPUT TYPE=FILE]
[INPUT TYPE=SUBMIT]
[/FORM]

Everything goes nuts and I get bogus content-lengths (not even the same value 
each time for the same file).

Give the input tag a name:
[INPUT TYPE=FILE NAME=FILE]

And everything works like a charm.
Figures.

On with scripting, thanks to all those that offered help.
And if you ever try to write a file upload CGI with apache, uh, remember to 
include the NAME tags in your HTML.

Brian
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to