Hi,
I’m trying to create my own file upload script.
All is working file except the move_file_upload() function. It seems that it will not write the uploaded file to the destination because it ‘does not have permission’. I have tried to use functions such as fopen and opendir but cannot seem to be able to give access.
I have ensured the folders mode is 755 and the script’s too. I suppose changing the destinaiton to 777 would work, but I obviously don’t want to do that. Is there something I’m missing?
Thanks in advance for your help.