hi there,
i'm having a problem with a directory under unix (Mac OS X).
I would like to use
the problem is that the destination directory $dir is not writable.
ok, so what i did is to chmod 777 $dir.
so now file permissions are :
output
and when in php i ask :
i cant understand why it is not writable..
is that even possible??
thanks for your help!
regards
i'm having a problem with a directory under unix (Mac OS X).
I would like to use
Code:
file_put_contents($dir, file_get_contents(...));
ok, so what i did is to chmod 777 $dir.
so now file permissions are :
Code:
ls -l /Users/gui/Desktop/images
Code:
drwxrwxrwx 2 gui staff 68 Nov 20 01:23 images
Code:
$dir = "/Users/gui/Desktop/images"; is_writable($dir); // false
is that even possible??
thanks for your help!
regards
Comment