creating database handle php file