Help for this page
if (length($html[$i]) > 1000000) ## $html[$i] holds the current string + of html { ... } else { ### Proceed normally