i've tried
$title = "XXX";
$path = '/home/virtual/site305/fst/var/www/html/directorfolders/'.$title;
$user_name = "th1ng";
chown($path, inval($user_name));
Warning: chown(): Unable to find uid for th1ng
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 812 is not allowed to access /home/virtual/site305/fst/var/www/html/directorfolders/SSS owned by uid 48 in /home/virtual/site305/fst/var/www/html/th1ngadmin/uploadimage.php on line 29
the user & group for the directory is apache (uid 48 - i think)
Any ideas much appreciated!
D.