On Thu, 2003-10-16 at 09:58, Bunmi Akinmboni wrote: > Thanks Neil. My ultimate aim to update my database with the details of > the upload after it uploads successfully, but I need to solve this > problem first. > > The folder already has permission 777. Dateiname: /home/www/web172/phptmp/phppYlgrZDatei wurde hochgeladen Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 897 is not allowed to access /home/www/web172/html/html owned by uid 30 in /home/www/web172/html/upload_http.php on line 9 This is my actual Warning after running this script files should moved from ../web172/phptmp/ into ../web172/html/ both directories are on the same 'floor'. <? echo 'Dateiname: '; echo $userfile; //chdir('html'); if(is_uploaded_file($userfile)); { echo "Datei wurde hochgeladen"; chmod("html",100755); move_uploaded_file($userfile,'html/'.$userfile); } //move_uploaded_file($userfile,$userfile); ?> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php