cgi type=file problems

Oleg Broytmann phd at phd.pp.ru
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>
D> <form action="/cgi-bin/cgi-test.py" method="post">

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

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list