How can I Combine Python & HTML together?
Hello, for a website I'm building now, I need to work with both Python, and HTML. The database is Python, and the grafic interface is going to be in HTML. That's the assignment. I've tried to use the GET tool in HTML, but so far it won't work. This is just a try what I'm doing right now, but I've got excactly NO F*CKING CLUE what to do. THe HTML I use to get this form:
form method="action" action="cgi2shl.py"
In python stands this file:
"Script: Trewatment of parameters with GET, Standard CGI"
# -*- coding: ISO-8859-1 -*-
for i in range(11):
if not para_d.has_key(key):
www=string.replace(www," ",", ")
www="world Wide Web"
print "content/type: text/html "
print " "
print "Welcome: "+user+" from "+ ort + "<br><hr>"
print "Today: <b>"+heute+"</b><br>"
print "Servertime: <b>"+lt+"</b><br>"
print "<p> <b>More information:</b><br>Your e-mail: "+E-Mail+" "
print "<br> Used from internet: "+ www + " </p>"
print 'Content-Type: text/plain\n'
is there anyone on this freaking planet who can help me during my search for this database interface? Thank you if you can. I really appreciate it.
I think you have a server-side issue.
Consider closing all your HTML tags though, this will aid accessibility in the future. This should help you:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)