web interface implementation in PHP