<?php require 'config.php'; $data = array(); $data['max'] = MAXVOLUME; $data['min'] = MINVOLUME; header('Content-Type: application/json'); echo json_encode($data); exit(); ?>