Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    306
    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:
    769
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    /dev/null
    use the php command to chmod the file

    Code:
    <?php
    chmod($target, 0644);
    ?>
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice