Internet Explorer 8 not working with ob_gzhandler?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Internet Explorer 8 not working with ob_gzhandler?

Post by JAB Creations »

IE8 is refusing the compress this page (IE6/7 working fine) however it doesn't seem to have any problems rendering it (since there is no CSS). I can't seem to track anything down and have been all over php.net and the web for the past couple of hours. Thoughts please?

Code: Select all

<?php
ob_start('ob_gzhandler');
?>
<html>
<head></head>
<body>
 
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sagittis fringilla justo eu pellentesque. Mauris molestie, quam elementum bibendum ultricies, nisl libero placerat tortor, vitae lobortis tellus est ac justo. Sed ac lorem ac purus fermentum suscipit eu vitae nulla. Nulla et mollis dolor. Aenean tincidunt turpis vel mauris pulvinar aliquam. Aenean commodo, risus eget ornare luctus, augue sapien sagittis enim, at vulputate justo lectus sit amet purus. Etiam feugiat, purus eu porta porttitor, elit massa facilisis diam, sed luctus augue elit dapibus enim. Proin ac neque id mauris scelerisque semper. Pellentesque auctor dapibus lobortis. Donec et tortor arcu, et tempus leo. Pellentesque blandit commodo nunc quis placerat. Quisque vel velit odio. Nullam bibendum velit quis lacus consectetur vehicula. Curabitur rhoncus semper odio, a semper eros vulputate in.</p>
 
</body>
</html>
manojsemwal1
Forum Contributor
Posts: 217
Joined: Mon Jun 29, 2009 4:13 am
Location: India

Re: Internet Explorer 8 not working with ob_gzhandler?

Post by manojsemwal1 »

This is simple html page and save in .php ext so no error will be displayed if u use some more php script that time some php header sent type error occured that time u can use this php header file.

regards,
Post Reply