Re: note 16412 added to function.mkdir

From: Date: Mon, 29 Oct 2001 09:46:46 +0000
Subject: Re: note 16412 added to function.mkdir
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19566@lists.php.net to get a copy of this message
On October 29, 2001 02:41 am, vincent@e-line.be wrote: > Hi, > > I saw that moast people are talking about permissions like: 0777. But > i'm wondering... doesn't the logics of binary calculatings says that > 0 decimal is equal to 0 binary? So you might as well leave it away? Hi Vincent, The leading 0 indicates that the number is octal (base 8) instead of decimal (base 10). Try the following snippet to see what I mean: echo 777, '"\t", 0777, "\n"; -- --zak "We must be the change we wish to see." - M. K. Ghandi

« previous php.notes (#19566) next »