Good afternoon, I have a question:
I have an apache running on windows. And I have the following sentence:
mkdir("ruta...\".$reg->id, 0777)
Is it correct to use that directory creation function?
I understand that in windows chmod()
does not work, is that correct?
Also talking about security issues ... is it correct to assign 0777?
Should it be more restrictive?