Check out Janggi (Korean Chess), our featured variant for December, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Sat, Nov 8, 2003 09:38 PM UTC:
The problem should now be fixed.

As mentioned in my message to Laila, I made some changes to accomodate
WebTV. It now encodes and decodes form data. But I did not have it decode
form data early enough. I had it decode form data after reading the log,
because it was at this point that I was already assigning all the POST
variables. But this was only to override the values set in the log. PHP
naturally assigns all POST variables without any explicit assignment in
the program, and I was using some post variables to tell which log to
read. This is where it broke down. It tried to use the decoded form of the
game's name, and this didn't work for names with spaces in them. So, to
fix this, I copied the code for assigning POST variables to an earlier
part of the script. It should now properly identify which log to read for
all games.