Copy of sample_php_mongo Sample