PHP 'live' Web Editor?

Discussion in 'PHP' started by OIOplus, Dec 30, 2007.

  1. #1
    I'm looking for a web application whereby a user could come along, and from their web browser, edit a page of php "live" and then save it.

    I'm not worried about anything like permissions, since I'd be using Wordpress in conjunction with it to limit its use.

    Thanks in advance. :)
     
    OIOplus, Dec 30, 2007 IP
  2. Meth_

    Meth_ Well-Known Member

    Messages:
    1,063
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    140
    #2
    umm well look up the function "eval"
    but note what it says

    EVAL!
     
    Meth_, Dec 30, 2007 IP
  3. kendo1979

    kendo1979 Peon

    Messages:
    208
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i'd do an echo to text area, and use it as a value to post, compare the old value with the new value, if it's different, open up the file, rewrite the whole content with the new value and close the file.
     
    kendo1979, Dec 30, 2007 IP