note 27799 added to function.disk-free-space
| From: | digitalife at 163 dot com | Date: | Thu, 19 Dec 2002 07:07:57 +0000 |
| Subject: | note 27799 added to function.disk-free-space | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41091@lists.php.net to get a copy of this message | ||
I found some problem in Win32 directory format.
for example,this code:
$e = disk_free_space("e:\"); // this is no problem in php run
//but this line U will get a parse error
printf ("Disk E free space: %f <br>\n",$e); // parse error
i think the function DISK_FREE_SPACE() should check the directory has no '\' in it.
--
http://www.php.net/manual/en/function.disk-free-space.php
http://master.php.net/manage/user-notes.php?action=edit+27799
http://master.php.net/manage/user-notes.php?action=delete+27799
http://master.php.net/manage/user-notes.php?action=reject+27799