can't edit files

Discussion in 'PHP' started by dcole07, May 27, 2006.

  1. #1
    I'm having problems editing files with php... I have looked and the permissions are correct!

    what should I try? I can't even read the file. The location to the file is correct. The owner is apache and it has 777
     
    dcole07, May 27, 2006 IP
  2. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #2
    How about:

    1. FTP the files back to your hard drive
    2. edit on your hard drive
    3. FTP them back to your server

    Editing live is asking for trouble.
     
    minstrel, May 27, 2006 IP
  3. mykoleary

    mykoleary Peon

    Messages:
    64
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you trying to write a PHP that opens a file to display for editing and saving a la a custom CMS admin section? If so, we'd need a few more details, maybe some code snippets.
     
    mykoleary, Jun 2, 2006 IP