Hummm, sorry, you're right, you're converting it do a "fake" octal via
strings, I was wrong in my first paragraph. In any case, if it helps, on
my comp it really does evaluate true.
Bogdan
Gandalf wrote:
>
>
> Hello!
>
> I am doing this
>
> $newpath = "./uploads/newdir/";
> if (!is_dir($ne
Hi!
I don't know why it doesn't because it really should ALWAYS evaluate
true with your code, regardless of absolutely anything.
The reason is that the quoteless 777 you're comparing to is in decimal
and it would defy math if you were ever able to get $perms==777. Anyway,
it does evaluate tru
2 matches
Mail list logo