My file keeps getting deleted!

My website URL is:

What I’m seeing is: that my file keeps getting deleted by the server!

I’m using this software: The free hosting plan of InfinityFree, Cloudflare, Recaptcha

Additional information:

My file size is 1245 KB

My file name is EnderCheck.php

Here’s my file:

  $response = file_get_contents("".$_POST['g-recaptcha-response']."&remoteip=".$_SETVER['REMOTE_ADDR']);
  $response = json_decode($response);
    $V = "localStorage.RecaptchaResponse = \"true\";";
    $V = "localStorage.RecaptchaResponse = \"false\";";
  $V = "localStorage.RecaptchaResponse = \"Unknown\";";
<!DOCTYPE html>
<html itemscope="" itemtype="" lang="en-US" class="notranslate" data-gramm_editor="false">


	  <?php echo $V; ?>





From this article:

The file is a HTML or PHP file larger than 1 MB

In addition to the general file size limit, there is a limit of 1 MB for HTML and PHP files. Any HTML or PHP code file larger than this will automatically be deleted after uploading it.

Depending on the contents of your PHP/HTML file, you may be able to reduce the file size in one of the following ways:

  • If you have a large amount of CSS and Javascript code in the file, consider moving this code to separate files and linking them from the same page. This will also help speed up your website, because separate CSS and Javascript files can be cached more effectively.
  • If the HTML page contains a lot of data to be displayed to visitors, you may be able to move this data to separate text files or a MySQL or SQLite database which can be queried from PHP.
  • If the file contains a lot of PHP code, you may be able to move some of this code to separate files, and use PHP include or require directives to combine the code in a single process. This also makes it easier to reuse code across multiple pages, and generally makes it easier to read and understand.
  • If the file contains a lot of HTML code, you can also use PHP include or require directives to combine multiple HTML files, like headers and footers, into a single page. However, note that having a very large HTML page means it may be very slow to load for people and use a lot of bandwidth, which is bad for (mobile) users. So you may also wish to consider to restructure your website so spread the content over multiple, specific pages.

Oh, the file is too big.

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