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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Advice for dynamic web pages. CGI or Javascript?

 



Maebius
Novice

Jun 5, 2000, 6:36 AM

Post #1 of 1 (687 views)
Advice for dynamic web pages. CGI or 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 sometimes with bug-filled 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)

 
 


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

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