I have to edit the footer of a page regularly (why is not important). I have decided that the easiest way to do this is to include a file in the footer and edit the included text file. what is the easiest way to edit a text file online? Maybe pasword protect the file and chmod it to 777? what do you think?
http://allyourtech.com/content/articles/22_11_2005_php_includes_for_people_who_dont_know_php.php http://www.hardcoder.com/scripting/php/include_files.php
Thanks for the reply. I know how to use the include function. What I can't figure out is how to edit the included file in my browser.
to edit no x permission needed hence 644 usually is fine howto on linux you use editor "vi" to edit online while logged in via SSH ( or telnet ) vi yourfile.html or more efficiently again assuming you have Linux host use fish protocol to connect to remote host then you have all offline tools available to edit your online files - on a fast DSL its almost like working on your offline files ( local files ) the syntax for fish protocol would be 1. use konqueror !! 2. to connect to remote server fish://your_domain.com/ will log you into (user-) or domain / OR into server / if on dedicated root server fish requires you have ssh serverkeys installed, then the connection is almost instant and without password query - increased server security and faster login procedure all at once at no extra cost.
carl, You can login to your hosting space via web FTP and edit any file easily. http://www.net2ftp.com/ If you are concerned about giving out your FTP password there, you can install that free script on your web space yourself. If you need any assistance with its installation, I'll be glad to help.