我需要有关disk_total_space函数的帮助..
我的代码上有这个
<?php
$sql="select * from users order by id";
$result=mysql_query($sql);
while($row=mysql_fetch_array($result)) {
?>
Name : <?php echo $row['name']; ?>
Email : <?php echo $row['email']; ?>
Diskspace Available : <?php
$dir = "C:/xampp/htdocs/freehosting/".$row['name'];
disk_total_space($dir);
} ?>
Run Code Online (Sandbox Code Playgroud)
但是,这为每个用户返回相同的磁盘空间..
任何人都能给我一些光明吗?
谢谢 :)