What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-13 17:56:11
php function to minify javascript and css
$css = ''; $root = $_SERVER['DOCUMENT_ROOT'].'/css/'; //directory where the css lives $files = explode(',',$_SERVER['QUERY_STRING']); if(sizeof($files)) { foreach($files as $file) { $css.= (is_file($root.$file.'.css') ? file_get_contents($root.$file.'... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5