create event php file