👽 ailolai

!/usr/bin/env python3

Just fooling around

import os

print("Hello gopherite")

print("Just add something, a query string to the url, ?query_string")

print("1bala\t/cgi-bin/?bala\tyretek.com\t70")

print("1rala\t/cgi-bin/?rla\tyretek.com\t70")

print(os.environ.keys())

if(os.environ['QUERY_STRING']=="bala"):

print(f"Thats a bala")

else:

print("nada")

print(os.environ['QUERY_STRING'])

OK, so I have a gopher script running doing something that could be useful. A gamebook. The idea is to use query string to transmit compressed data on the characte and game state. Then generate the text using data files

2 years ago

Actions

👋 Join Station