Re: tempnam() not working as expected...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




tamouse mailing lists <tamouse.lists@xxxxxxxxx> hat am 19. April 2012 um
07:10 geschrieben:

> On Mon, Apr 16, 2012 at 3:09 AM, marco@xxxxxxxxxx <marco@xxxxxxxxxx>
wrote:
> >> mkdir($d,777,true);                /* make the directory */
> > Try using "mkdir($d, 0777, true);"
>
> Herein, my friends, lies the problem. Silly me, using a DECIMAL number
> (777) instead of an OCTAL number (0777).

:-) well ... you could have written 511 which is 0777 in octal :D
The other way around 777 decimal is 1411 octal. No idea what kinda chmod
mode that is ;-)


>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3

Tel.: 0174 / 9722336
e-Mail: marco@xxxxxxxxxx

Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal

http://www.behnke.biz

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux