cgi type=file problems

Oleg Broytmann phd at
Mon Sep 3 11:58:17 CEST 2001

On 3 Sep 2001, Dag wrote:
D> I have a HTML form with a type=file input element and I simply want to
D> get the file name as a string.  I'm not interested in the actual file.
D> However the value from the file part of the form doesn't seem to get
D> passed at all.
D> For example I have the following form and script;
D> <form action="/cgi-bin/" method="post">

<form action="/cgi-bin/" method="post" enctype="multipart/form-data">

     Oleg Broytmann              phd at
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-list mailing list