PHP heads, I need some help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Triple 6
    Confirmed User
    • Feb 2002
    • 5394

    #1

    PHP heads, I need some help

    Im having trouble getting a script to create a directory with permissions 0777 that I can ftp to and access. The script creates the directory but it gets created as 0770, and when I try to access the damn things I get permission denied error.

    I heard of others having similair problems and was wondering if any of you may know what causes it?

    BTW I have safemode disabled for the site.
    SIG TOO SMALL! Maximum 1200x600 button and no more than 30 text lines of ALL SIZES and COLORS. Unless your sig is for a GFY top banner sponsor, then you may use a 6240x4800 instead of a 1024x800.
  • LuSiD
    Confirmed User
    • Dec 2002
    • 434

    #2
    Are you running a *nix or Windows?
    I bought a dog the other day... I named him Stay. It's fun to call him... "Come here, Stay! Come here, Stay!" He went insane. Now he just ignores me and keeps typing.

    Comment

    • sneaker
      So Fucking Banned
      • Dec 2002
      • 251

      #3
      Might be able to create the directory and run a system function using chmod on it...

      http://www.php.net/manual/en/function.system.php

      Comment

      Working...