tristram
Guest
disk_free_space() < 0
как такое возможно?
[m]disk_free_space[/m]:
float disk_free_space ( string directory )
Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk partition.
Получается доступно -19570688
По логике должно быть >= 0
Server: Apache/1.3.27 (Unix) mod_perl/1.27 PHP/4.3.0 mod_ssl/2.8.12 OpenSSL/0.9.7a
PHP:
$free = disk_free_space(".");
echo "Free: ".$free."\n";
//Free: -19570688
[m]disk_free_space[/m]:
float disk_free_space ( string directory )
Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk partition.
Получается доступно -19570688

По логике должно быть >= 0
Server: Apache/1.3.27 (Unix) mod_perl/1.27 PHP/4.3.0 mod_ssl/2.8.12 OpenSSL/0.9.7a