WMPRO, WMMINI FW >= 1.55 WMMEGA FW >= 2.0
Return total space on microSD card
None
KiloBytes (KB) total for the microSD card (Bytes/1024, rounded to an integer)
<? $dt=disk_total_space(); print("The card has ".$dt." KiloBytes total."); ?>
disk_free_space() - Return free space on microSD card
freemem() - Return free memory space
freestack() - Return free stack space
nvram_free() - Return the number of bytes available in NVRAM