Jump to content


Photo

imagejpg() Saves files as "apache".


  • Please log in to reply
1 reply to this topic

#1 intrik

intrik
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 30 September 2006 - 07:59 AM

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

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 01 October 2006 - 06:32 PM

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()?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users