Oi Pessoal,
Mais uma vez recorro a ajuda dos mais experientes.
Um cliente me perguntou sobre a possibilidade de mudar a máscara de criação de arquivos. Como não desejo mexer na configuração padrão do servidor, resolvi fuçar a internet procurando uma solução. Encontrei a função umask(), mas não sei a mesma atende ao cliente e além disso tem avisos de segurança sobre seu uso no manual do php...
Agradeço qualquer dica.
Feliz 2011!

Page 1 of 1
Mudar a máscara de criação de arquivos Alguem já fez isso?
#2
Posted 12 janeiro 2011 - 11:43
Atualizando o tópico.
Resposta do DC:
"If you customer wants to use umask in php script, then it is better to create the file first and then change the permission using chmod.
If they want to set umask in their shell, they can refer the link:
http://www.cyberciti.biz/tips/understandin...alue-usage.html
http://it.toolbox.com/wiki/index.php/Set_u..._to_users"
Resposta do DC:
"If you customer wants to use umask in php script, then it is better to create the file first and then change the permission using chmod.
If they want to set umask in their shell, they can refer the link:
http://www.cyberciti.biz/tips/understandin...alue-usage.html
http://it.toolbox.com/wiki/index.php/Set_u..._to_users"
Share this topic:
Page 1 of 1

Help










