Hi all,
I'm trying to create a subdirectory in a newly created directory, that has been created with php.
/gallery/newgal works ok, but /gallery/newgal/thumbs gives the error Warning: Unable to access /path/to/dir in /path/to/phpfile.
All the dir's a created with full read/write perms, and the only thing i can think of is that the thumbs dir is 10 folders deep and is causing problems somewhere....
$pathFolder = $path.$folder;
$pathFolderThumb = $path.$folder."/".$thumbs;
$mask = umask ( 0 );
$createGallery = mkdir($pathFolder,0777);
$createThumbdir = mkdir($pathFolderThumb,0777);
umask ( $mask );
I've searched forums, google, and got nothing. Any ideas?