Search found 8 matches
Aprelium Forum Index
Author Message
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 11:14 pm   Subject: GZIP & HTML compression
Oh yeah... I forgot... I also needed to enable

zlib.output_compression = On

in php.ini

Cheers!

one_time
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 9:57 pm   Subject: GZIP & HTML compression
Good News!!!!

It occured to me that the problem may be with PHP. I was briefly toying around with WordPress recently (hated it), and I got to thinking that my PHP installation may be corrupted by i ...
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 7:40 pm   Subject: GZIP & HTML compression
I opened up phpinfo.php in my F:\Abyss Web Server\scripts\phpMyAdmin\ directory:

<?php
/* $Id: phpinfo.php,v 2.5 2005/11/22 11:58:37 cybot_tm Exp $ */
// vim: expandtab sw=4 ts ...
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 6:56 pm   Subject: GZIP & HTML compression
Ahhh... OK, gotcha.

I created a basic HTML file with the code you provided. The message displays correctly in Dreamweaver. But again, if I point the broweser to it:

http://ennui-anomie.no-ip.org ...
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 6:40 pm   Subject: GZIP & HTML compression
I'm running Windows XP... it's just a mac style. I looked into escape characters for XHTML, but I can't see anything that would require one.
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 6:12 pm   Subject: GZIP & HTML compression
Thanks for the reply.

I moved the position of the php code to the top of the index:

<?php
ob_start("ob_gzhandler");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XH ...
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 5:41 pm   Subject: GZIP & HTML compression
Thanks for your reply. I did as you suggested and insterted the php code into my index.html --
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xh ...
  Topic: GZIP & HTML compression
one_time

Replies: 15
Views: 27485

PostForum: PHP   Posted: Tue May 30, 2006 3:39 pm   Subject: GZIP & HTML compression
Perhaps someone could help me out with this...

I am trying to enable gzip compression for html files and I cannot get it to work. I have done a search of the forums and found some tips, followed th ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group