Is upload of files greater than 1 MB not possibl?

epiz_26172608

I tried to upload a HTML page with 1.2 MB. But the page is not uploaded. Is it because the page is over 1.2 MB? But it is possible to upload the same file as PDF. The PDF file has the size of 0.98 MB. Do I have to split the index page and upload it as two files?

You cannot upload php/html files bigger than 1MB,

9 Likes

Thank you.

1 Like

You can split the file in half like index.html to file1.html and file2.html. Then create a file called index.php and put the following code in it.

<?php
  include('file1.html');
  include('file2.html');
?>

this way you can maintain files larger than 1MB

8 Likes

@Slycherr

Welcome to the forum

Due to a bug in previous versions of the forum it happens that a topic is not automatically locked after 15 days of inactivity.

I believe that the forum warned you that there is no point in answering a topic that was made so long ago (8 months since the last post)

In addition, it is marked as solved.

So please don’t reply to anything older than 15 days

https://forum.infinityfree.com/guidelines

Thank you !

2 Likes