Here comes as requested, if you don't understand what it is about just ignore it!
You need a HTTP server with PHP capabilty.
You can see it working here
Newbie Galactic combat 3 PBW Emergency Site
Thanx to Fyron for dragging me into PHP scripting, screaming and kicking all the way though!
Download all files here:
http://pbw.ath.cx/Site.zip
This is the readme, also included:
[i]
You need a http server capable of handling php files.
The starting file is index.php
You can set up as many sites as you wish but each site needs their own directory ith a gamefile and turnfiles subdirectories.
You can alter all data in simple textfiles, the configuration.txt set up is before the site is turned on and then shouldn't have to be altered anymore.
The playerdata.txt needs to be altered when players drop and are replaced.
The deadline.txt needs to be alterd when the deadline is updated.
Hopefully I'll fix a better deadline handler in the future, and a progress bar for the uplaod turnfile, that script has been giving some players troubles, I'll look into that (Not working for some).
The gamefile that lies in the GAMEFILE directory must be named in PBW standard,
that is:
Gamename_turnnumber.zip
and the gamename the same as in configuration.txt
i e:
NGC3_57.zip
The uploaded turnfiles in TURNFILES directory should be named accrdingly in PBW standard:
Gamename_playernumber(4 numbers).plr
i e:
ngc3_0001.plr
These are the textfiles that needs to be altered:
#1. Configuration.txt:
Game name
Site name
Host name
Host e-mail
Info line
i e:
NGC3
Newbie Galactic Combat 3 PBW Emergency Site
Ruatha
[email protected]
Made 2003 by Ruatha with Wordpad.
#2. Playerdata.txt :
Number of players
Player1
Player1 e-mail
Player1 empire name
i e:
2
Ruatha
[email protected]
Swedish Democracy
James
[email protected]
Storuman Republic
#3. Deadline.txt
year
Month
Day
hour
i e:
2003
8
22
20
------------
Good luck.
Ruatha