1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how can i edit a text file online?

Discussion in 'Content Management' started by carl_in_florida, Dec 9, 2006.

  1. #1
    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?
     
    carl_in_florida, Dec 9, 2006 IP
  2. sri

    sri Active Member

    Messages:
    917
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    70
  3. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #3
    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.
     
    carl_in_florida, Dec 9, 2006 IP
  4. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #4
    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.
     
    hans, Dec 9, 2006 IP
    carl_in_florida likes this.
  5. aaron_nimocks

    aaron_nimocks Im kind of a big deal Staff

    Messages:
    5,563
    Likes Received:
    627
    Best Answers:
    0
    Trophy Points:
    420
    #5
    Or you can just use sites like www.web2ftp.com and just go into that file and edit it.
     
    aaron_nimocks, Dec 9, 2006 IP
    carl_in_florida likes this.
  6. sri

    sri Active Member

    Messages:
    917
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    70
    #6
    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.
     
    sri, Dec 9, 2006 IP
    carl_in_florida likes this.
  7. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #7
    Thanks guys! Thats what i was looking for! green for everybody
     
    carl_in_florida, Dec 9, 2006 IP