in reply to Text files and binary files

The problem is that the file can be easily viewed and can be changed by prying eyes.

So stop that. Change the permissions on the file and move it out of the document root.

Replies are listed 'Best First'.
Re: Re: Text files and binary files
by jdtoronto (Prior) on Nov 28, 2003 at 17:14 UTC
    Why on earth do you have a file - ANY FILE - where it can be seen? Move the file out of the document root, or any document area where it can be seen. Change the permissions so that only the script can read and write it. This is one of the cardinal rules of web site building - if there is the most remote possibilitty that someone can see or modify a file they inevitably will, and far sooner than you anticipate.

    jdtoronto