. /usr/local/bin/bashlib servername=`param hostname` gamemodename=`param gamemode` add=`param online` echo "Content-type: text/html" echo "" cat ./fileparts/header.html echo "" #It seems quotes are enough,see #https://stackoverflow.com/questions/4273074/sanitize-user-input-in-bash-for-security-purposes echo "hostname:$servername" echo "gamemode:$gamemodename" echo "online:$add" if ( $add -eq "true" ) then cat "$servername" >> ./servers.txt echo "Server $servername added" fi echo "

Servers currently running Winter Survival 2 - Anarchy:
" echo "" cat ./fileparts/footer.html