note 75259 added to function.gzcompress
| From: | lethal dot liquid at gmail dot com | Date: | Sun, 20 May 2007 23:38:02 +0000 |
| Subject: | note 75259 added to function.gzcompress | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126779@lists.php.net to get a copy of this message | ||
Or you could do this if you are planning on using this heavily:
if(strstr($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') ||
strstr($_ERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) {
$compression = "false";
} else {
$compression = "true";
}
----
Server IP: 69.147.83.197
Probable Submitter: 75.45.218.113
----
Manual Page -- http://www.php.net/manual/en/function.gzcompress.php
Edit -- https://master.php.net/note/edit/75259
Del: integrated -- https://master.php.net/note/delete/75259/integrated
Del: useless -- https://master.php.net/note/delete/75259/useless
Del: bad code -- https://master.php.net/note/delete/75259/bad+code
Del: spam -- https://master.php.net/note/delete/75259/spam
Del: non-english -- https://master.php.net/note/delete/75259/non-english
Del: in docs -- https://master.php.net/note/delete/75259/in+docs
Del: other reasons-- https://master.php.net/note/delete/75259
Reject -- https://master.php.net/note/reject/75259
Search -- https://master.php.net/manage/user-notes.php