$fh = fopen( "Stats.xml" , "r" ); while( !feof( $fh ) ) $data += htmlspecialchars(fread( $fh , 1024 )); echo $data."