hey, stuck in a bind and need some help. i'm uploading files using forms, mainly images for a dynamic photo gallery and the files successfully upload. but, they will not appear because of unix permissions.
how do i change the permission while uploading the file to 0666? i understand i am supposed to use the cmod function in php, but do i do this in a seperate script? it would be nice in the code if it could convert the file to 0666 while it was uploading so i don't have any issues with that.
can someone help me with this?