making a basic app using php