This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""MongoDB UserStore implementation""" | |
try: | |
import cPickle as pickle | |
except ImportError: | |
import pickle | |
import pymongo | |
from pymongo import Connection | |
from pymongo.errors import ConnectionFailure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Get this at your MongoLab.com user page | |
$MONGOLAB_API_KEY = 'XXXXXXXXXXXXXX'; | |
$DB = 'mydb'; | |
$COLLECTION = 'mycollection'; | |
$name = $_POST['fullName']; | |
$email = $_POST['email']; | |
$phone = $_POST['phoneNumber']; | |
$src = $_POST['src']; |