#  Please help with file\_get\_contents

**URL:** <https://forum.infinityfree.com/t/please-help-with-file-get-contents/77156>\
**Category:** Hosting Support\
**Created:** [June 5, 2023, 9:42pm UTC](https://forum.infinityfree.com/t/please-help-with-file-get-contents/77156 "2023-06-05T21:42:35Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [June 6, 2023, 8:02pm UTC](https://forum.infinityfree.com/t/please-help-with-file-get-contents/77156/11 "2023-06-06T20:02:49Z")

</div>

Any programmatic access to data on your website hosted with us is not possible due to a security system we use:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools. To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…

What to do next depends on why you need to fetch it in the first place.

If you want to fetch it from your own site, you’ll probably want to just `require` or `include` the PHP code so it runs in the same request (meaning it’s much faster).

If it needs to be access from other sites, you need to find another solution for this. For example by pushing the latest version to another system, instead of generating it with PHP on the fly.

---

_[View the full topic](https://forum.infinityfree.com/t/please-help-with-file-get-contents/77156)._
