
Maebius
Novice
Jun 2, 2000, 12:26 PM
Post #1 of 1
(1775 views)
|
The wisdom of CGI vs Javascript?
|
Can't Post
|
|
Greetings, I'm fairly new here, so forgive my naivete. I am writing a multiplayer web-game, which uses dynamic web pages to show current player status, describe messages for each location/actiopn, and other things. Think of your basic RPG-style game modified for the Web. My problem is that I'm unsure what the best code would be to generate the dynamic sections of the Web pages. My initial attempts at generating HTML on-the-fly through a CGI script work fairly well, but then the URL is www.myurl.com/ntflew.script.cgi While this is OK, there MUST be a better way to handle things like this. To keep track of variables across my site, I use cookies, which works with buggy success (still learning that kind of thing). If anyone would like to get an idea of the things I am doing, go to http://www.dreamscape.com/ntflew/everthor.htm The login and password for the test-file is 'nflory' & 'nflory'. Try putting another login, a wrong password, etc. You will see how the resulting page looks. My goal is to use HTML files with javascript or soemthing, but want to hide the heavy-coding from the players who View->Source my pages. (and also avoid every 'page' being the output of a script if possible. Thanks for any advice and aid. Generous gurus are free to email me directly at maebius@dreamscape.com as I have fairly limited 'Net access and would get emails more consistantly thant browsing this forum. -Nate (Maebius)
|