Angelo Zanetti wrote:
thanks, but Im sure there is something that is messing up the file
permissions that I can change before the upload, instead of trying to
cure the problem by setting the chmod of the file after its uplaoded
Check the following things:
1. umask settings on the director
The remote PHP machine maybe forces the files to
change their permission when uploaded. This would be
security measure. And I think that if this is the
case, you won't be able to change the permissions.
===
Hristo Yankov, Developer at Portellus, Inc.
ICQ - 1
Use chmod() on the uploaded file.
===
Hristo Yankov, Developer at Portellus, Inc.
ICQ - 191445567
Yahoo! - yankov_hristo
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http
thanks, but Im sure there is something that is messing up the file
permissions that I can change before the upload, instead of trying to
cure the problem by setting the chmod of the file after its uplaoded
Hristo Yankov wrote:
Use chmod() on the uploaded file.
=
Hi all.
I've got a PHP script which does file uploads.
the files get uploaded fine but I see that the permission of the files are:
600
IE: Owner read and write.
In order for me to use the files, I would have to set the permissions on
each file, now for best practise would I set the permissio
5 matches
Mail list logo