- 1
Where to store images in php?
I'm storing images by php predefined function that is move_uploaded_file($_FILES ['file']['tmp_name'],"imgs/".$_FILES['file']['name']); but this directory is accessed by everyone then what to do. After changing chmod 000,755,777 etc. Also tried sql but expand the loading time. .. So, I finally want to know that where to store multimedia datas as images and videos, accept text based datas...
1 ответ
0
This question duplicates what https://www.sololearn.com/Discuss/2747352/image-post-in-php was left at. You're asking how to store the image securely. The ball is still in your court with that question. Are you sure you want to save to file system now? It sounds like you're sure you want to save to the file system but confirm in the other question's discussion.