http://www.reddit.com/r/PHP/comments/1l7baq/creating_a_user_from_the_web_problem/