Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Danny Shepherd
to the browser to send the correct header saying that it accepts compressed web pages. /snip from manual HTH Danny. - Original Message - From: Sqlcoders.com Programming Dept [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 1:25 PM Subject: Re: [PHP] Cool PHP Tricks/Features

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread George Whiffen
[mailto:[EMAIL PROTECTED]] Sent: May 14, 2002 6:43 PM To: 'Girish Nath'; [EMAIL PROTECTED] Subject: RE: [PHP] Cool PHP Tricks/Features ? Why do you think this is useful to you? I remember reading an article on this and its conclusion was that zipping the output was only

RE: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread David Freeman
It's quite some time since I dealt directly with modems and packets moving over networks per se so some of this may well prove wrong - feel free to point it out if I am someone. 3. But surely, ASDL, cable, the backbone and decent intranets must all do hardware compression, don't they? Or

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Danny Shepherd
PROTECTED]; Sqlcoders.Com Programming Dept [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 1:24 PM Subject: Re: [PHP] Cool PHP Tricks/Features ? Ummm, This output compression sounded cool to me when I came across it, but I wasn't sure it really helped or was appropriate for us to use: 1. My

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Michael Kimsal
George Whiffen wrote: 1. My biggest concern is the slowest user i.e. at the end of a modem on the other side of the planet. I thought they would almost certainly have modem compression so doing our own compression doesn't really help them at all i.e. actual download speeds stay the same,

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Michael Kimsal
Danny Shepherd wrote: No, that's not a problem either! snip from manual Before ob_gzhandler() actually sends compressed data, it determines what type of content encoding the browser will accept (gzip, deflate or none at all) and will return it's output accordingly. All browsers are

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Miguel Cruz
On Wed, 15 May 2002, George Whiffen wrote: 1. My biggest concern is the slowest user i.e. at the end of a modem on the other side of the planet. I thought they would almost certainly have modem compression so doing our own compression doesn't really help them at all i.e. actual download

RE: [PHP] Cool PHP Tricks/Features ?

2002-05-14 Thread Steve Bradwell
HI Girish, I'm pretty new to php, using for about 8 months now, I haven't heard of these, can you go into some detail for me? Thanks, Steve -Original Message- From: Girish Nath [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 9:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Cool PHP

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-14 Thread Girish Nath
Hi Steve http://www.php.net/manual/en/function.ob-gzhandler.php http://www.devshed.com/Server_Side/PHP/OutputBuffering/page8.html Basically it allows output to be compressed with gzip encoding as it's sent to the browser. I had a webpage that was part of an admin section of a website, it was

RE: [PHP] Cool PHP Tricks/Features ?

2002-05-14 Thread John Holmes
Why do you think this is useful to you? I remember reading an article on this and its conclusion was that zipping the output was only beneficial for large data between fast computers over a slow pipe. You have to look at who your clients are and if it's beneficial to have their machine use up

RE: [PHP] Cool PHP Tricks/Features ?

2002-05-14 Thread SP
PROTECTED]] Sent: May 14, 2002 6:43 PM To: 'Girish Nath'; [EMAIL PROTECTED] Subject: RE: [PHP] Cool PHP Tricks/Features ? Why do you think this is useful to you? I remember reading an article on this and its conclusion was that zipping the output was only beneficial for large data between fast

RE: [PHP] Cool PHP Tricks/Features ?

2002-05-14 Thread John Holmes
- From: SP [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 9:29 PM To: [EMAIL PROTECTED]; 'Girish Nath'; [EMAIL PROTECTED] Subject: RE: [PHP] Cool PHP Tricks/Features ? Well if his normal page is 100k and he can cut the size down to 50k with gzip then instead of having a monthly transfer

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-14 Thread Sqlcoders.com Programming Dept
(JavaScript) switched off. You takes your chances, you makes your choice... William. - Original Message - From: SP [EMAIL PROTECTED] To: [EMAIL PROTECTED]; 'Girish Nath' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: May 14 2002 06:29 PM Subject: RE: [PHP] Cool PHP Tricks/Features ? Well

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-14 Thread Girish Nath
- From: John Holmes [EMAIL PROTECTED] To: 'SP' [EMAIL PROTECTED]; 'Girish Nath' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 3:18 AM Subject: RE: [PHP] Cool PHP Tricks/Features ? Yes, it can be useful. I don't dispute that. All I'm saying is that it's not the save-all