/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php // Source: http://www.catswhocode.com/blog/10-life-saving-php-snippets // Could be modified, I can't remember if I did $offset = 60 * 60 * 24; // Cache for a day function compress($buffer) { /* remove comments */ /* remove tabs, spaces, newlines, etc. */ ", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer); return $buffer; } /* your css files */ include('base.css'); include('style.css'); include('typography.css'); include('forms.css'); include('jquery.fancybox-1.3.0.css');
URL: http://www.catswhocode.com/blog/10-life-saving-php-snippets