added the php file for insertion into the postgis database