Last active
August 29, 2015 14:08
-
-
Save codenamejason/50d1971cedb7b3e804a7 to your computer and use it in GitHub Desktop.
stylePHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Untitled Document</title> | |
</head> | |
<body> | |
<?php | |
ob_start ("ob_gzhandler"); | |
header("Content-type: text/css; charset: UTF-8"); | |
header("Cache-Control: must-revalidate"); | |
$offset = 60 * 60 ; | |
$ExpStr = "Expires: " . | |
gmdate("D, d M Y H:i:s", | |
time() + $offset) . " GMT"; | |
header($ExpStr); | |
?> | |
body { color: red; } | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment