Author |
Message |
Milchbazi
Junior WebHelper
Joined: 11 Mar 2003
Posts: 15
Location: NH, USA
|
Posted:
Thu Mar 13, 2003 7:20 pm (21 years, 1 month ago) |
|
ok, here's the link: phpinfo() |
________________________________ TS Designs
___________________________ |
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Thu Mar 13, 2003 7:26 pm (21 years, 1 month ago) |
|
I don't know about you daniel, but I don't think it's enabled...I searched the page for "gzip" and all I could find was the stuff my browser said it would accept. |
________________________________ It's turtles all the way down... |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu Mar 13, 2003 7:33 pm (21 years, 1 month ago) |
|
Actually, it is enabled. What you have to look for is zlib.
So, Milchbazi, the code you can use instead is the following (tell us if it works ):
Code: | // Gzips the page, to save on bandwidth
ob_start('ob_gzhandler'); |
|
________________________________
|
|
|
|
Milchbazi
Junior WebHelper
Joined: 11 Mar 2003
Posts: 15
Location: NH, USA
|
Posted:
Fri Mar 14, 2003 12:25 am (21 years, 1 month ago) |
|
I don't know if it works. I put it on the top of the script, but how can I see the compression? But what I can say for sure: No errors. So it doesn't work or it works without errors |
________________________________ TS Designs
___________________________ |
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Fri Mar 14, 2003 12:53 am (21 years, 1 month ago) |
|
no errors is always a good sign...if it wasn't enabled you'd get a warning at least. |
________________________________ It's turtles all the way down... |
|
|
|
Milchbazi
Junior WebHelper
Joined: 11 Mar 2003
Posts: 15
Location: NH, USA
|
Posted:
Fri Mar 14, 2003 3:19 am (21 years, 1 month ago) |
|
But is there a way to find out if it works properly? Or the status of the compression - like my script where it comes: gzcompressed: 2.44 kb uncompressed: 7.63 kb or so?
Do you know how it phpBB2 does? It's the best forum I know and it has a lot of good features and a proper script. |
________________________________ TS Designs
___________________________ |
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Fri Mar 14, 2003 3:23 am (21 years, 1 month ago) |
|
hmmm...I'm not sure, check the php manual |
________________________________ It's turtles all the way down... |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Fri Mar 14, 2003 7:01 am (21 years, 1 month ago) |
|
|
|
|
Milchbazi
Junior WebHelper
Joined: 11 Mar 2003
Posts: 15
Location: NH, USA
|
Posted:
Sat Mar 15, 2003 4:55 am (21 years, 1 month ago) |
|
Thanks a lot you both. It runs great |
________________________________ TS Designs
___________________________ |
|
|
|
|
Page generation time: 0.228147 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme