# Particle.io in Canada?

**URL:** <https://community.particle.io/t/particle-io-in-canada/59760>\
**Category:** Events\
**Tags:** boron, argon\
**Created:** [March 19, 2021, 11:13am UTC](https://community.particle.io/t/particle-io-in-canada/59760 "2021-03-19T11:13:14Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![Iv4n](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/iv4n/32/1968_2.png) [@Iv4n](https://community.particle.io/u/Iv4n)\
**Post date:** [March 22, 2021, 2:16pm UTC](https://community.particle.io/t/particle-io-in-canada/59760/22 "2021-03-22T14:16:04Z")

</div>

Correct, you need one that can do TTL (UART?) through the RX and TX pins, Raspberry cam’s won’t work.

PHP script for the server is super simple: (ref: [https://stackoverflow.com/a/26679604](https://stackoverflow.com/a/26679604))

```auto
$uploaddir = '/usr/share/nginx/html/';
$upload_filename = date('Y-m-d_H-i-s') . '.jpg';
$uploadfile = $uploaddir . $upload_filename;

if(move_uploaded_file($_FILES['picture']['tmp_name'], $uploadfile)){
  http_response_code(202);
  echo "OK.\n";
}else{
  http_response_code(406);
  echo "NOK!\n";
}

```

for the Firmware, you can refer to: [Electron with serial jpeg camera sending partial images to the server](https://community.particle.io/t/electron-with-serial-jpeg-camera-sending-partial-images-to-the-server/49427)

---

_[View the full topic](https://community.particle.io/t/particle-io-in-canada/59760)._
