hi, i have sucessfully uploaded images using php but for some reason (i assume the owner property) doesnt let me display the image. The file says it is owned by "48" what does this mean? and how do i change so that i can read it? the folder permissions allow read/write...
Cheers
if you are using a unix file system, you can change the permssions using chmod (http://www.php.net/manual/en/function.chmod.php)
Note that this function has no effect on windows platforms.
regards ali
PS: i assume the "48" is the user id. you could use chown with php to set the owner of the image to the user with this id. then there would be no error. (at least not this one =) )
Lots (most) hosting companies won't let you do that, as I found to my annoyance, so if it doesn't work, and you get permission errors, thats most likely the reason :-(