# Uploading 17500 users and their avatars using PHP

**URL:** <https://meta.discourse.org/t/uploading-17500-users-and-their-avatars-using-php/71685>\
**Category:** Development\
**Created:** [Octobre 9, 2017, 2:39 UTC](https://meta.discourse.org/t/uploading-17500-users-and-their-avatars-using-php/71685 "2017-10-09T14:39:06Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Frank\_Bailey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frank_bailey/32/83927_2.png) [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)\
**Post date:** [Octobre 10, 2017, 3:56 UTC](https://meta.discourse.org/t/uploading-17500-users-and-their-avatars-using-php/71685/11 "2017-10-10T15:56:50Z")

</div>

After starting from scratch with the Discourse Vagrant container and once again hitting a wall, I have decided to cut my losses and upload the users with the PHP Discourse API helper. Once the users are uploaded I will upload the avatars.

Can anyone possibly give me an example of what the curl syntax should look like to include the $\_FILES as part of the POST, please?

---

_[View the full topic](https://meta.discourse.org/t/uploading-17500-users-and-their-avatars-using-php/71685)._
