File Upload PHP

Discussion in 'PHP' started by protocol96, Jul 10, 2007.

  1. #1
    I am using move_uploaded_file function on linux machine, but wen i m moving files from one folder to another it permission changes and i have to do a chmod to read the file. Can somebody guide me wit this issue??
     
    protocol96, Jul 10, 2007 IP
  2. Jikdor

    Jikdor Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Permission hafto be 0777 I think
     
    Jikdor, Jul 10, 2007 IP
  3. Bartuc

    Bartuc Active Member

    Messages:
    120
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    75
    #3
    i'm using move_uploaded_file on a image hosting and never experienced a problem like that.

    it must be something with your server settings.
     
    Bartuc, Jul 10, 2007 IP