PHP Classes

File: compress.php

Recommend this page to a friend!
  Classes of Subin Siby  >  PHP HTML Compressor  >  compress.php  >  Download  
File: compress.php
Role: Example script
Content type: text/plain
Description: The page where AJAX request to compress goes to
Class: PHP HTML Compressor
Compress Web pages HTML, CSS and JavaScript
Author: By
Last change: Update of compress.php
Date: 1 month ago
Size: 671 bytes


Class file image Download
<?include "load.php";?>
<!DOCTYPE html>
  <title>Site Compressor from</title>
$_POST['options'] = isset($_POST['options']) ? $_POST['options']:array();
$starttime = microtime(true);
$SC->makeOptions($_POST['siteDetails'], $_POST['options']);
$endtime = microtime(true);
$duration = round($endtime - $starttime, 4);
$SC->status("Site Compression Finished In $duration seconds");
$SC->ser("Not enough data");