read / write to a text file

I want to increment a value on a text file on a server and then write that value to html pages.....I dont know where to start. What should I use to do this. Basically Im looking for any explanation of how this is done, so I know where to look.
beebopAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TTomCommented:
Clearly, this is a server side process.

How it is accomplished will depend on the server.  If it happens to be M$ IIS, this can be done using Active Server Pages.  If not, it will probably require some sort of CGI script.  If you are trying to implement a hit counter, there are numerous scripts and services (including M$ Front Page) which have components/scripts available to accomplish this.

Tom
0
beebopAuthor Commented:
I dont want a counter. I want something that will hold a record of a particular vote on a question. The problem I have with server side stuff is my website is held on a server where they dont allow cgi type scripts. does this mean that its impossible to do what I want to do.
Is it possible to place a perl interpreter in your space on a server. Im basically lost with server side stuff. Its not just a matter of getting to grips with a language.
Can you give me any site addresses that will start with the basics of server side stuff or any good books that I could read.
Bee
0
TTomCommented:
Bee:

Hmmm.  You might want to check out www.scriptsearch.com and look for something like "polling" apps.  You can also look at www.activeserverpages.com and see if you can find any links to something like that.

Although I am not really familiar with them, I have heard of apps (either ASP or Java?) which will do what you want.

As far as server side stuff goes, a little depends on your platform.  M$ Active Server Pages, NetScape LiveConnect(?) are pretty much scripting solutions which run on the server.  Very much like writing client side script, but it runs at the server and ships "plain vanilla" HTML to the client.

So far as I know, I don't think you can just install a Perl interpreter on your ISP's server, but I am also not a real Perl guru.

Try www.activeserverpages.com for some good introductory background/tutorials on ASP.  If you want a good beginner's book on ASP, the WROX Beginning ASP is pretty good.  Unfortunately, again, this is pretty much M$ specific stuff.

Tom
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

beebopAuthor Commented:
cheers tom
0
TTomCommented:
Thanks!  Good luck.

Tom
0
jpoesenCommented:
There are a number of free services out there that will run a range of pre-written cgi-scripts for you, like form mailers, counters, poll-scripts, etc.

Check out http://thefreesite.com/Webmaster_Freebies/

Good luck
jpoesen
0
beebopAuthor Commented:
I had competely forgotten this question was posted, anyway I know the answer now 2 years on - anyway thanks for being patient for yopur points TTom
Bee
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.