Added uebung07
This commit is contained in:
13
cgi-bin/uebung07/posts-create.py
Normal file
13
cgi-bin/uebung07/posts-create.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import cgi
|
||||
import cgitb
|
||||
cgitb.enable()
|
||||
|
||||
|
||||
form = open("doggu.html", "r").read()
|
||||
print("Content-type: text/html\n")
|
||||
print(form)
|
||||
|
||||
print('<a href="posts-show.py">Zeig mir alle Posts!</a><br>')
|
||||
print('<a href="tags-show.py">Zeig mir alle Tags!</a>')
|
Reference in New Issue
Block a user