# php

**URL:** <https://forum.infinityfree.com/t/php/120706>\
**Category:** Hosting Support\
**Created:** [September 16, 2026, 9:44pm UTC](https://forum.infinityfree.com/t/php/120706 "2026-09-16T21:44:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PHPMySQL](https://forum.infinityfree.com/letter_avatar/phpmysql/32/6_449c533f586939b6e5f246632a46421f.png) [@PHPMySQL](https://forum.infinityfree.com/u/PHPMySQL)\
**Post date:** [September 16, 2026, 9:44pm UTC](https://forum.infinityfree.com/t/php/120706/1 "2026-09-16T21:44:11Z")

</div>

### Website URL

[https://internetseguriti.fwh.is/](https://internetseguriti.fwh.is/)

### Error Message

[https://internetseguriti.fwh.is/server/post-test.php](https://internetseguriti.fwh.is/server/post-test.php)

### Other Information

Hello,

I have a PHP/MySQL website hosted on InfinityFree at:

[https://internetseguriti.fwh.is/](https://internetseguriti.fwh.is/)

I have confirmed that PHP works correctly:

GET:  
[https://internetseguriti.fwh.is/server/post-test.php](https://internetseguriti.fwh.is/server/post-test.php)

returns the PHP response normally.

However, a POST request to the same PHP file is intercepted by the server/security layer.

I tested with PowerShell:

Invoke-WebRequest -Uri “[https://internetseguriti.fwh.is/server/post-test.php](https://internetseguriti.fwh.is/server/post-test.php)” -Method POST -ContentType “application/json” -Body ‘{“test”:true}’

The response is:

HTTP/1.1 200 OK

but:

Content-Type: text/html  
Server: openresty  
Response body is an HTML security page containing /aes.js

The PHP script itself is not receiving the POST.

The same problem affects my application endpoint:

POST /server/api.php?action=visit

which originally returned:

501 Unsupported method (‘POST’)

The application uses POST because the endpoint writes visit data to MySQL.

Could you please check why the security/proxy layer for my domain is intercepting POST requests before they reach PHP, and whether POST requests to PHP/API endpoints are allowed on my hosting account?

I have confirmed that GET requests to PHP work and that MySQL/PHP connectivity works.

Thank you.

---

<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:** [September 16, 2026, 9:44pm UTC](https://forum.infinityfree.com/t/php/120706/2 "2026-09-16T21:44:41Z")

</div>

> [@PHPMySQL](#):
>
> Could you please check why the security/proxy layer for my domain is intercepting POST requests before they reach PHP

Because that is what it is supposed to do

> [@Browser Security System - Features and Limitations](https://forum.infinityfree.com/t/browser-security-system-features-and-limitations/49353):
>
> InfinityFree uses a security system on all free hosting accounts to ensure your website is accessed by real web browsers, not bots or automated scripts. While this protects your site from malicious traffic, it can affect certain types of access. How the security system works The system checks that visitors can execute JavaScript and accept cookies: features that all modern web browsers support. This verification happens automatically and most website visitors will never notice it. You may occa…

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [September 23, 2026, 9:45pm UTC](https://forum.infinityfree.com/t/php/120706/3 "2026-09-23T21:45:02Z")

</div>

Closed on September 23, 2026, 9:45pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
