i create folders on my clients admin site with php, and then i need to upload the files. but for some reason it wont let me upload into theses folders owned by apache!
i've tried chmod('/home/virtual/site305/fst/var/www/html/directorfolders/'.$directorfolder, 0777);
which makes them 777, but still no joy! Also i can't change permissions with my ftp programme?!
here is the upload path
$uploaddir = '/home/virtual/site305/fst/var/www/html/directorfolders/'.$directorfolder.'/';
i can upload to /home/virtual/site305/fst/var/www/html/directorfolders/ without any probs! any ideas?
many thanks (error below)
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/SIlly Man owned by uid 48 in /home/virtual/site305/fst/var/www/html/th1ngadmin/uploadimage.php on line 21