Viewing and editting a text file
Posted: Wed Feb 25, 2009 4:53 pm
Hi all.
I have gotone final thing that my website requires for a college project. I have been putting it off for a while and concentrating on everything else which I can do!
I have searched the internet endlessly for code and I just keep coming across code which doesnt work/doesnt make sense.
I was wondering if someone here would be able to help me? I am looking to be able to open up a new pae from within the webiste. This page needs to display a txt box with the contents of a text file which will be saved in the same directory as the website. The text file is called, IP_Log.txt. The user must then be able to edit the contents of the text file and then click a button which will save the contents and overwrite the file.
Thank you in advance to anyone that can help me. This forum has been very helpful before!
I have gotone final thing that my website requires for a college project. I have been putting it off for a while and concentrating on everything else which I can do!
I have searched the internet endlessly for code and I just keep coming across code which doesnt work/doesnt make sense.
I was wondering if someone here would be able to help me? I am looking to be able to open up a new pae from within the webiste. This page needs to display a txt box with the contents of a text file which will be saved in the same directory as the website. The text file is called, IP_Log.txt. The user must then be able to edit the contents of the text file and then click a button which will save the contents and overwrite the file.
Thank you in advance to anyone that can help me. This forum has been very helpful before!