<?php include("../class/sys.php"); //A better print_r displaying (useless, just for fun) header("Content-Type: text/plain"); //Utilisation : $os = new sys(); $systemDisk = $os->getDiskSpace(); if($systemDisk != false){ print_r($systemDisk); }else{ print_r($os->getError); } ?>