Notice: Undefined variable: file in C:\website\requestor.php on line 180 Warning: move_uploaded_file(import): failed to open stream: Permission denied in C:\website\uhd_4_edit\requestor.php on line 180 Warning: move_uploaded_file(): Unable to move 'C:\WINDOWS\TEMP\php12.tmp' to 'import' in C:\website\requestor.php on line 180 how to solve this problem
Make sure the folder you are trying to upload to is chmodded to 0777. Posting the script also might help as he said above.
Indeed, post a piece of code so we can check it out. I think your $file is empty, maby used an script for php older then 4 wich allowed $file to have the same content as $_FILES..
you can change it using your ftp client.. or if you want to do it programmatically, use the chmod() function of php...
I tiered to configure using ws_ftp always cannot connect.note im only using localhost the client and server is only one machine am just practicing how to upload. And idea??
Yes as given above, you need to change the rights of your files and or directories you need to write in... that's all..
hello i already set 777 permission but may new error is Notice: Undefined variable: file in my file directory how to solve this problem i ecounter this problem during moving file from temp folder to my create directory. tnx