CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
The wisdom of CGI vs Javascript?



Jun 2, 2000, 12:26 PM

Post #1 of 1 (2063 views)
The wisdom of CGI vs Javascript? Can't Post

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

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

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 as I have fairly limited 'Net access and would get emails more consistantly thant browsing this forum.
-Nate (Maebius)


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives