CoreyR Posted March 7, 2007 Share Posted March 7, 2007 I have a script that uploads an image and placed the image name in my SQL database. Once the image is placed on the server the permissions are not allowing the browser to see the image. Is there an easy way to call a line of code to set the permissions correctly on the file? Link to comment https://forums.phpfreaks.com/topic/41646-chmod-a-driectory-and-everything-in-it/ Share on other sites More sharing options...
trq Posted March 7, 2007 Share Posted March 7, 2007 Is there an easy way to call a line of code to set the permissions correctly on the file? <?php chmod('filename','660'); ?> Link to comment https://forums.phpfreaks.com/topic/41646-chmod-a-driectory-and-everything-in-it/#findComment-201791 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.