Welcome Guest, Not a member yet? Register   Sign In
Resized images created with 600 permissions
#1

[eluser]Vega[/eluser]
Hi my web host seems to have changed a setting on the server which means when images are created or resized using GD they are given permissions of 600 (instead of 644), meaning I am getting the "Forbidden" error message in the browser. I was wondering how I can change/override this?
#2

[eluser]InsiteFX[/eluser]
php chmod

InsiteFX
#3

[eluser]Vega[/eluser]
Thanks InsiteFX Smile ..(I just added: chmod($img_path.$img_name, 0644); near the end of captcha_pi.php for anyone else reading).




Theme © iAndrew 2016 - Forum software by © MyBB