# Example Code in PHP how to Create a new User

**URL:** <https://meta.discourse.org/t/example-code-in-php-how-to-create-a-new-user/72186>\
**Category:** Development\
**Created:** [16 Ottobre 2017, 3:14pm UTC](https://meta.discourse.org/t/example-code-in-php-how-to-create-a-new-user/72186 "2017-10-16T15:14:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mertins-mir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mertins-mir/32/81852_2.png) [@mertins-mir](https://meta.discourse.org/u/mertins-mir)\
**Post date:** [16 Ottobre 2017, 3:14pm UTC](https://meta.discourse.org/t/example-code-in-php-how-to-create-a-new-user/72186/1 "2017-10-16T15:14:36Z")

</div>

Hi all,

I’ve got an existing User DB and I simply want to push the User into the discourse Forum. My programming language is PHP and I know how to use curl but are there any examples, how to push a new user into discourse?

That would help me a lot.

Thanks! Frank

---

_[View the full topic](https://meta.discourse.org/t/example-code-in-php-how-to-create-a-new-user/72186)._
