SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    302
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HEEELP...Dreaded Upload Permissions

    Need some help with permissions..

    Have a multiple upload form, everything seems fine. I have never recieved the error personally on 2 different machines running the web form.

    But every now and then I get the :

    receiving directory insuffiecient permission

    I create user directories on the fly, then upload to tmp area, then move the files to the correct directory. As above, this works most of the time but then sometime not....

    Any thoughts?

  2. #2
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    302
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am creating dirs using 0777

  3. #3
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    302
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's Hoping...

  4. #4
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    302
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay. I may be speaking to soon, hope not.

    But for anyone with similar problems...Even tho I created the dir with 0777 permisions. I still had to chmod the folder I was uploading to later to provide access. chmod($thisdir ."/" . $userdirectory, 0777); not sure if 0777 is the right permissions, it did give execute permissions once I looked at the properties of the folder via FTP...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •