writing and reading a string to and from a server file
I have a web page with several JavaScript functions. One of the things I need to do is to read a string from a server side file (say tmp.txt) into a Javascript variable and also to write the value of a Javascript variable to the file, overwriting previous contents. That is all I want to do.
How can I do that? Thanks
Joe
RE: writing and reading a string to and from a server file
Steve,
Thanks for the explanation and script. I thought this was the case but wasn't sure. The script is a big help since I am just starting to learn PHP. Thanks again.
Joe