RPS SupportClient Login

Domain Registration

www..

standard hosting

PHP Compression

What this wonderful script does, is compress your html and web pages every time it's loaded onto a browser. If it's not already obvious, you must be certain that you use PHP for your web pages and that your server supports it at least.

Pre-flight Checklist

You need to check your server to be sure that the version of PHP installed on your sever is extended with the zlib module.

To do this, simply open Notepad and type the following:

<?php
phpinfo();
?>

Save the file as phpinfo.php and then upload it to your website. Visit the page you uploaded, and continue below:

Now we need to search for a specific module named zlib. Do this by pressing Control+F and search for zlib on the page. It will look similar to the image below:

zlib Compression

If you see something similar to the above box, you are ready to implement it into your site. If you do not see the above box, or one similar to it, please call your web hosting company and ask them if they can install it for you. (You can point them to this page so they know what you are trying to do)

Implementation

It is just as easy to implement it onto your website! Simply add the following code to the top of every PHP page you would like compressed, YES, it is that easy!

<?php
ob_start( 'ob_gzhandler' );
?>
<html>
<head>
<title>My Compressed Page</title>
</head>
<body>
<p>This web page is now COMPRESSED!</p>
</body>
</html>

Hosting Center

  User:
  Pass:
Remember Me

Contact RPS

We offer many contact options:


Phone: (888) RPS-1815
Request Callback
Free Consultation
RPS Online Center
Customer Support

Latest News

03/06/2008 - The Horde upgrade has been... more info


03/06/2008 -

Horde is currently going through a security upgrade. We... more info


News & announcements: view more

Virtual Rep

Let our virtual sale rep answer:

Home | About RPS | Contact Us | Portfolio | Support | Resources | Club RPS | Terms & Conditions | Site Map

2008 © Copyright | All Rights Reserved. Server load time: 0.007241 seconds


w3c htmlw3c_cssaccepted paymentsssl100 percentsecured by