a php application on geology