disk_total_space

(FW >= 1.55)

disk_total_space- Returns total space on sd card in kilobytes

Description

int disk_total_space()
This function will return the total number of kilobytes on the MicroSD card

Parameters

None

Return Value

Returns the number of total kilobytes on the MicroSD card as an int.

Examples

<? 
// $df contains the number of kilobytes 
$df = disk_total_space(); 
print("The card has ".$df." kilobytes of total space."); 
?>