Editing files from a browser window
Sometimes you want to edit a remote file, but are just too lazy to fire up a FTP client. So, can you do it in a browser window? Of course you can. With a little help of server side scripting. I am using a PHP script to accomplish just that.
See the demo
View source
.txt file, which the script edits
If you view the source you’ll see it’s really simple. PHP offers commands to read files from disk and to save them. All that’s left is to provide a simple interface for editing. Mine is very basic, but I’m sure you can do better.










