How to change permssions

Discussion in 'Databases' started by bluevalee87, Jul 7, 2008.

  1. #1
    Does anyone know how to change permissions for a PHP file?:confused:
     
    bluevalee87, Jul 7, 2008 IP
  2. kmzeron

    kmzeron Well-Known Member

    Messages:
    734
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    128
    #2
    Same as a directory or other file.
    I'm using Total Commander.
    Select the file , go to Files -> Change Attributes and make changes.
     
    kmzeron, Jul 7, 2008 IP
  3. zerofill

    zerofill Member

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #3
    Change permissions as in is it on linux or windows?

    Linux command line you can use chmod... Like:

    chmod 755 myphpfile.php

    Windows you can actually browse to the file and change permissions by right clicking on it...

    Most FTP apps if you are FTPing the file somewhere will allow you to do this from a menu when you right click the file.
     
    zerofill, Jul 7, 2008 IP
  4. bluevalee87

    bluevalee87 Banned

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks people!!:)
     
    bluevalee87, Jul 9, 2008 IP
  5. BDazzler

    BDazzler Peon

    Messages:
    215
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    within php you can use the chmod function.
     
    BDazzler, Jul 9, 2008 IP
  6. kasapa

    kasapa Peon

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    for IIS, add Internet Guest Account and Luanch IIS for PHP files :)
     
    kasapa, Jul 13, 2008 IP