What's wierd is that I can do the following...
mkdir ("/var/www/html/inline6/files/22", 0755);
chmod ("/var/www/html/inline6/files/22", 0755);
which creates the directory 22.
But, when I do the following...
$tid = $i6cp2->id;
echo $i6global[filerepository].'/'.$tid;
mkdir ("$i6global[filerepository].'/'.$tid", 0755);
chmod ("$i6global[filerepository].'/'.$tid", 0755);
It outputs /var/www/html/inline6/files/22
But then fails in the mkdir and chmod functions.
Any thoughts?
Thanks,
Tim