Jump to content

Archived

This topic is now archived and is closed to further replies.

intrik

imagejpg() Saves files as "apache".

Recommended Posts

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"?

Share this post


Link to post
Share on other sites
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()?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.