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 to download<br><br>
<div><span class="gmail_quote">On 7/4/07, <b class="gmail_sendername">Alan Gauld</b> <<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">"Alejandro Decchi" <<a href="mailto:adecchi@gmail.com">adecchi@gmail.com</a>> wrote<br><br>
> Ok but i have this form:<br>> <body><br>> <form id="form1" name="form1" method="post"<br>> action="/cgi-bin/search.py"><br><br>OK, You didn'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'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 - <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>