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.

In Need of Editing HTML pages online ASP Script

Discussion in 'C#' started by 310henry777, Sep 26, 2008.

  1. #1
    Guys i have a HTML page named me.htm

    I am interested in being able to edit this on the go(edit it online), i don't have such option in my hosting panel

    So i am looking for a simple solution. I am on a Windows server (ASP is supported)

    Basically the page me.htm

    consists of 3 <div> elements and they all contain paragraphs

    I need to just edit the content, the text and simply save it


    Is there anything that anyone could recommend


    Pref some type of user protection (but not necessary) so only certain people can edit it

    Thanks


    someone suggested to write 2 little scripts

    Can someone help

    If you can write two little scripts, do this:

    Script 1: Create a basic web page that contains a form that contains text area. Fill the text area with the content of me.htm

    Script 2: This is the "action" of the form I just described. It receives the edited page text and writes it into the original file. It already knows the filename because this is a script with one purpose.


    Thanks
     
    310henry777, Sep 26, 2008 IP
  2. yugolancer

    yugolancer Well-Known Member

    Messages:
    320
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    First check if write permission is set to allows you rewrite the me.html !

    Then also check if your hosting package supports ASP.NET.

    If both conditions above are satisfied i am going to help you. Otherwise wait for someone who is good at ASP classic.

    Cheers :)
     
    yugolancer, Sep 26, 2008 IP
  3. vihutuo

    vihutuo Well-Known Member

    Messages:
    1,511
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    180
    #3
    Yep ... It's best to go ASP.NET ... One reason being that it's almost 7 yrs now since it's release :)
     
    vihutuo, Sep 29, 2008 IP
  4. mintoj

    mintoj Peon

    Messages:
    317
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try Microsoft Expression Web or Visual Studio Express Edition.
     
    mintoj, Sep 29, 2008 IP
  5. dinomflorist

    dinomflorist Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    use database
    all what you need to modify, is represented with field database

    so you can edit recordset in your html code/ asp code
     
    dinomflorist, Sep 29, 2008 IP