hide script name from outside
This commit is contained in:
@@ -2,3 +2,5 @@
|
|||||||
|
|
||||||
Use with fcgi.
|
Use with fcgi.
|
||||||
Create httpd-writable db.txt as simple database
|
Create httpd-writable db.txt as simple database
|
||||||
|
|
||||||
|
Make sure to put pin.run as index file. This makes even the script name invisible to the outside.
|
||||||
|
|||||||
2
pin.run
2
pin.run
@@ -89,7 +89,7 @@ if oversize:
|
|||||||
print("neuer Eintrag derzeit nicht möglich, Datei voll.")
|
print("neuer Eintrag derzeit nicht möglich, Datei voll.")
|
||||||
else:
|
else:
|
||||||
print("""
|
print("""
|
||||||
<form action="pin.run" method="post" enctype="multipart/form-data">
|
<form action="https://augustiner-kantorei.de/pinnwand/" method="post" enctype="multipart/form-data">
|
||||||
<select name="day" size=1>
|
<select name="day" size=1>
|
||||||
<option>1</option>
|
<option>1</option>
|
||||||
<option>2</option>
|
<option>2</option>
|
||||||
|
|||||||
Reference in New Issue
Block a user