python with ASP

Sameer Chowdhury sameerc1 at yahoo.com
Wed Jan 5 22:41:28 EST 2000


how could the following work.  It's supposed to either display a form or
display "Got Title".

<%@ LANGUAGE = Python %>
<%
if REQUEST.Form("title"):
%>
 <html>
 <b> Got Title</b>
 </html>
<% else: %>
 <html>
 <FORM ACTION="/pytest.asp" method="POST">
<b>Title:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</b><BR>
 <input type="text" value="" size=60 name="title"><P>
 <input type=submit value="Submit">
 </form>
 </html>


__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html




More information about the Python-list mailing list