The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

is_uploaded_file

Discussion in 'General Discussion' started by youp, Dec 8, 2005.

  1. youp

    youp Well-Known Member

    Joined:
    Oct 30, 2001
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    in my script php is use the function is_uploaded_file, why the uploaded fiel is on chmod 600 ? it's possible to configure the web server to have the perimission at 644 ?

    thanks
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    use the php command to chmod the file

    Code:
    <?php
    chmod($target, 0644);
    ?>
    
     

Share This Page