# PHP Script Redirection Issue Due to InfinityFree Security System

**URL:** https://forum.infinityfree.com/t/php-script-redirection-issue-due-to-infinityfree-security-system/92577
**Category:** Hosting Support
**Created:** [April 20, 2024, 8:08pm UTC](https://forum.infinityfree.com/t/php-script-redirection-issue-due-to-infinityfree-security-system/92577 "2024-04-20T20:08:01Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)
#### Post date: [April 20, 2024, 9:15pm UTC](https://forum.infinityfree.com/t/php-script-redirection-issue-due-to-infinityfree-security-system/92577/2 "2024-04-20T21:15:14Z")

</div>

Your post is pretty vague, but you see, to be describing this issue:

> [@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…

* * *

> [@beemybold](#):
>
> the response is unexpectedly redirected to another URL

What URL? What code is managing the response? How are you creating the request?

---

_[View the full topic](https://forum.infinityfree.com/t/php-script-redirection-issue-due-to-infinityfree-security-system/92577)._
