Results 1 to 2 of 2

Thread: CHMODing

  1. #1

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065

    CHMODing

    hey ya, just wondering now,

    Is it possible to CHMOD a file / Set file permissions with PHP?

    Cuz my web application needs to write sum values to a config file, & after its done, i would like to set the chmod to 755, and when i need to write to the file set it to 777...

    anyhow, lemme no plz
    Wayne

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Code:
    chmod ("filename", 0755);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width