UPLOAD - NO ACCESS TO FILES

Asked

Viewed 50 times

1

inserir a descrição da imagem aquiI built a web server with apache 2.4 and php at home. I created a file upload script and gave it everything right, unless when uploading when I will view the downloaded photos in the server folder it tells me that I do not have access and does not allow viewing. Does anyone have any hint of what might be going on? Thank you.

1 answer

1

You have to change the permissions of the folder where you are storing the images!

If you are using Linux, I no longer know the procedure in graphic mode, because I haven’t used it in a few months!

If you use Windows, just go to the folder where the images are stored, and click with the button Direito, and go into Propriedades, then on the tab Segurança by clicking on Editar... select a user, and proceed by editing permissions!

If you are using Linux, try changing the permissions via command, in case search for CHMOD!

  • How... ?

  • Editandoooooo..

  • Thank you for trying to help me!! I use Windows 7 and already tried to change the folder settings as you spoke, only that while doing so I noticed that already this all released in my server folder, there is nothing to do.

  • @Sampaioleal I thought I had a direct way to do in php...

  • @Magichat guy, slá, I thought he was having problems accessing the image through the browser, but it did not cross my mind that the problem was on his pc right

Browser other questions tagged

You are not signed in. Login or sign up in order to post.