intrik Posted September 30, 2006 Share Posted September 30, 2006 Using imagejpg(), it creates the file as you would expect but the owner of the file is "apache" rather than, for instance the ftp username. So you cannot download the uploaded files through ftp, because they're not your files. Does that make sense?Is there anyway to make it so that the owner of the file is not "apache"? Link to comment https://forums.phpfreaks.com/topic/22571-imagejpg-saves-files-as-apache/ Share on other sites More sharing options...
zq29 Posted October 1, 2006 Share Posted October 1, 2006 You could try using the chown() function, alternatively, would you be able to view the files over FTP if you chmod them to 0777 with chmod()? Link to comment https://forums.phpfreaks.com/topic/22571-imagejpg-saves-files-as-apache/#findComment-101946 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.