Yes I have a debian server runing apache. Can you give me a link ? Because i do not how to make the search and list the files found&nbsp;to download<br><br>
<div><span class="gmail_quote">On 7/4/07, <b class="gmail_sendername">Alan Gauld</b> &lt;<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">&quot;Alejandro Decchi&quot; &lt;<a href="mailto:adecchi@gmail.com">adecchi@gmail.com</a>&gt; wrote<br><br>
&gt; Ok&nbsp;&nbsp;but i have this form:<br>&gt; &lt;body&gt;<br>&gt; &lt;form id=&quot;form1&quot; name=&quot;form1&quot; method=&quot;post&quot;<br>&gt; action=&quot;/cgi-bin/search.py&quot;&gt;<br><br>OK, You didn&#39;t make it clear that you meant a CGI program,
<br>I was assuming you meant a GUI program. That adds a whole<br>heap of extra complexity. A lot depends on what web<br>mechanism/framework you are using. If we assume the<br>standard cgi module then you need to get the submited
<br>data out of the request with the field_storage dictionary.<br>Then you need to call your search function and finally<br>format the results as HTML. Either offer to downoad a<br>particular file and have a second request start the download
<br>or just send the file back, but that could be an unexpected result.<br>I&#39;d offer the file as a link and let the user click on it to fetch it<br>from the server.<br><br>But web programming is a whole different ball game.
<br>You should look up some simple examples first.<br><br>Alan G.<br><br><br>_______________________________________________<br>Tutor maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor">
http://mail.python.org/mailman/listinfo/tutor</a><br></blockquote></div><br>