A friend of mine is making a sort of campaign manager for a game called FreeSpace2 and he needs a script for a program in PHP.
I offered to help and found a poll script for him but he said it wouldn't work the way he wanted it to... therefor I have come to you guys.
What I need is a really basic script... even though I dunno how to do it(All I know really in PHP is the Include and Echo)
Lets call the script poll.php and the file it holds the stats in "stats.txt"
OK what I need it to do is when you go to the file poll.php?twilight it adds to the number for "Twilight" in the stats.txt file, and when you go to poll.php?warzone it adds to the number for warzone.
However... the stats.txt file must ONLY be numbers... and warzone must be the first number, and twilight the second.
For example the stats.txt file should look like this:
1
5
1 would be the number for Twilight and 5 would be the number for Warzone
I don't need a "recall" part of the script which shows how many each of the "items" got(in terms of polls)
If anyone can do this for me I'm sure I could study the script and duplicate part of it to add another "item" to the list.
I'm sure this is relatively easy for anyone to do, because I've seen some of the stuff you guys do... and I don't think I'll ever be able to do that.
If someone can write a script for this please email it to me at dragonclaw@graffiti.net .. I'd be VERY happy