Cloud Computing
>
Support
>
PHP Forum
http://www.bodhost.com/forum/
Enable gZIP compression
User Name
Remember Me?
Password
Thread Tools
Display Modes
#
1
(
permalink
)
05-24-11, 23:20
PATRICIAF5
BOD Member
Join Date: Nov 2010
Posts: 202
Enable gZIP compression
Hi!
How to enable gZIP compression for our php pages?
#
2
(
permalink
)
05-25-11, 00:05
Carol.P
BOD Member
Join Date: Jun 2010
Posts: 175
Add the following line at the top of your php files to enable gZIP compression for our php pages:
<?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>
__________________
Carol.P
«
phpmyadmin Giving Error 403
|
What is PHP APC ?
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
Off
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Sales
Hosting Services
Web Hosting Offers
Hosting Pre-Sales Forum
Customer Testimonials
Hosting Polls
Support
Network Status
Tutorials and Documentation
Control Panel Forum
PHP Forum
vps hosting
MySQL Issues.
Dedicated hosting
Linux Server Hosting
Windows Dedicated Server
Services
ECommerce Forum
General Discussion
Introduction
General Discussion Forum
All times are GMT -6. The time now is
01:12
.
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by
vBSEO
3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.
-- Default Style
-- Soness Fluid
Web Server Hosting
-
Contact Us
- -
Members
-
Register
-
Calendar
-
Search
-
FAQ