Simple webapplication core php