note 56512 deleted from function.header by bjori
| From: | bjori@php.net | Date: | Mon, 27 Mar 2006 09:46:46 +0000 |
| Subject: | note 56512 deleted from function.header by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106713@lists.php.net to get a copy of this message | ||
Note Submitter: digibluez at gmail dot com
----
[Note from et@php.net: This is bogus. There are lots of ways to circumvent this stupid
"protection". 1) simply use wget to get the styles 2) use a tool that lets you view the
styles that are used by the browser, like the webdev extension for firefox, ... and so on.]
// Redirects the browser quickly
header("Refresh: 0; http://www.php.net");
echo "This content is usually displayed by the browser in the instant before the next page can
be loaded.";
i use this in my css1.php file to prevent users getting acces to it.you must be darn quick to copy
pase this one.
like:
<? ob_start ("ob_gzhandler");
header("Refresh: 0; http://www.google.com");
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);
?>
lots of styles here