The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

fclose> <disk_total_space
[edit] Last updated: Sat, 12 May 2012

view this page in

diskfreespace

(PHP 4, PHP 5)

diskfreespaceAlias of disk_free_space()

Description

This function is an alias of: disk_free_space().



add a note add a note User Contributed Notes diskfreespace
27-Oct-2005 05:17
<?php
//On windows:
$hdwinC = disk_free_space("C:");
$hdwinD = disk_free_space("D:");
echo
"Diskspace left on C: $hdwinC<br>";
echo
"Diskspace left on D: $hdwinD";

//Linux:
$hdGnu = disk_free_space("/");
echo
"Diskspace left on / $hdGnu";
?>

 
show source | credits | sitemap | contact | advertising | mirror sites