All pastes #612588 Raw Edit

Untitled

public text v1 · immutable
·published 2007-07-10 14:24 UTC
rendered paste body
<?php
	if ($_GET[css]) {
		$filename = file_exists('css/'.$_GET[css].'')? 'css/'.$_GET[css].'' : '';
		header('Content-type: text/css');
		header('Content-length: '.filesize($filename));
		readfile($filename);
		return;
	}
?>


<link rel="stylesheet" href="media.php?css=style.css" type="text/css" /> won't work