Jump to content


Photo

Upload file and set permissions


  • Please log in to reply
2 replies to this topic

#1 ldsmike88

ldsmike88
  • Members
  • PipPipPip
  • Advanced Member
  • 168 posts
  • LocationFlorida

Posted 26 October 2006 - 11:40 PM

I just started working on a new website for someone. They are using yahoo as their web host. (Personally I think it was a bad choice.) I have a form to upload images to the server. This works fine on my other servers but when I use it with yahoo it sets the permissions so only the owner can read the pictures. Is there a way in PHP to change permissions for files? Thanks!

Michael

#2 fert

fert
  • Members
  • PipPipPip
  • Advanced Member
  • 1,114 posts

Posted 26 October 2006 - 11:44 PM

use chmod

Si hoc legere scis nimium eruditionis habes
Gentoo Linux 2007.0 Firefox 2

#3 ldsmike88

ldsmike88
  • Members
  • PipPipPip
  • Advanced Member
  • 168 posts
  • LocationFlorida

Posted 27 October 2006 - 12:26 AM

Hey it works! Thanks!

Michael




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users