SuPHP and user nobody

Discussion in 'PHP' started by Rakaan, Jan 31, 2008.

  1. #1
    Hiya,

    My image uploading script uploads the images with default permission of 600 which wouldnt let users link the images.

    This has happened since the day I've upgraded to suphp.

    Anyone knows how can I fix this?

    As for the "nobody issue, you need to use the php code "chmod("",0644);" with necessary parameters and for this you need to contact a developer.

    http://www.imagegrip.com
     
    Rakaan, Jan 31, 2008 IP
  2. Rakaan

    Rakaan Well-Known Member

    Messages:
    256
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Does anyone know how can I fix my image uploading code as it's uploading all files with chmod 600 rather than 644 since the day I've installed suphp and now images wont show unless I ftp in and change the permissions to 644.

    I've got the uploader code file with me. Anyone sorting me out will get a free fiver.

    ;)

    It seems my uploader is using this class

    http://www.bytemycode.com/snippets/snippet/528/
     
    Rakaan, Feb 2, 2008 IP