New Programmer

They have: 2 posts

Joined: Jan 2000

I recently have gotten interested in using CGI's to spruce up my pages. My final goal in all this is to somehow write to a txt document and display it on an HTML page.

It is to be used with other scripts in order to make stats for web RPG characters appear on a page.

Does anyone here know where I should start?

------------------
The Neophyte coder
NeoWolf

The Neophyte coder
NeoWolf

They have: 15 posts

Joined: Dec 1999

Hiya-
If you are thinking of learning CGI, check out the resources at http://www.cgi-resources.com or http://www.cgi101.com.

------------------
Casey Hansen
http://www.caseynet.com
"Computer geeks with attuitude"

Casey Hansen
http://www.caseynet.com
"Computer geeks with attuitude"

They have: 161 posts

Joined: Dec 1999

Perl is definitely a good programming language to use for this task. It has exceptional string handling features, that will allow you to pull blocks of text from a text file effortlessly. Perl allows you to format a file to read from in a specific way, and then "redefine" what a "line" is, so that you can get a whole chunk of text (spanning several "conventional" lines) at once.

Perl will help. Learn the basics of Perl before you go reading the specifics of CGI.

------------------
--
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.