<?php
ob_start();
include 'header.php';
include 'content.php';
include 'footer.php';
$content = ob_get_contents();
ob_end_clean();
$i = 9;
while($i--){
$search = array(" ", "\t", "\n", "\r");
$replace = " ";
$content = preg_replace("/<!--.*?-->/ms", $replace, $content);
$content = str_replace($search, $replace, $content);
}
echo "<!-- Thank you for looking into the code! -->";
$i = 99;
while($i--) echo "\n";
echo $content;
?>
necdetuygur/php-page-minifier
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
PHP Page Minifier
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published