RE: [PHP] stripping white space?

2001-07-10 Thread Brian White
we know the headaches us developers can face in the >future. > >Sincerely, > Navid Yar > > >-Original Message- >From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 10, 2001 1:06 AM >To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] >Su

RE: [PHP] stripping white space?

2001-07-10 Thread Chadwick, Russell
r [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 9:52 AM To: Maxim Maletsky; 'Bart Veldhuizen'; [EMAIL PROTECTED] Subject: Re: [PHP] stripping white space? On Tuesday 10 July 2001 11:26, Maxim Maletsky wrote: > But you're right, on UNIX systems, if I am not wrong, you cannot

Re: [PHP] stripping white space?

2001-07-10 Thread Bart Veldhuizen
Hi Remo, > PS: Can anyone enlighten me concerning HTTP compression? I wish I could remember where I read this, but the PHP documentation still does not have this feature described. To enable zlib output compression, first make sure you have compiled PHP with the --with-zlib option. Next, add the

Re: [PHP] stripping white space?

2001-07-10 Thread Bart Veldhuizen
, > Maxim Maletsky > > > > -Original Message- > From: Bart Veldhuizen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 10, 2001 6:07 PM > To: Maxim Maletsky; [EMAIL PROTECTED] > Subject: Re: [PHP] stripping white space? > > > Hi Maxim, > > > I am de

Re: [PHP] stripping white space?

2001-07-10 Thread Bart Veldhuizen
Hi Maxim, > 1. HTTP compression, which is not 100% compatible, but catches most > of the browsers anyway. Yes. The standard PHP implementation actually inspects the HTTP headers to determine if the browser supports gzip encoding. If not, it will send the files uncompressed. Looking at our websit

RE: [PHP] stripping white space?

2001-07-09 Thread Navid A. Yar
PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Navid A. Yar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] stripping white space? If you do this then those who will want to eventu

Re: [PHP] stripping white space?

2001-07-09 Thread Bart Veldhuizen
Hi Brian, >* Persuade someone at Zend to modify PHP so that a filter function can > be specified which all output text is passed through - would have the > same restrictions as the "header" function You can already achieve this by using the built-in output buffering function. Read

Re: [PHP] stripping white space?

2001-07-09 Thread Mark Charette
From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 1:05 AM Subject: RE: [PHP] stripping white space? > I think it IS a good practice > if you only practicing HTML to be outputted by PHP. Why, i

Re: [PHP] stripping white space?

2001-07-09 Thread Brian White
ope I'm overlooking something. > > >--kurt >- Original Message - >From: "Chris Lambert - WhiteCrown Networks" <[EMAIL PROTECTED]> >To: "Kurt Lieber" <[EMAIL PROTECTED]> >Sent: Monday, July 09, 2001 10:11 PM >Subject: Re: [PHP] stri

RE: [PHP] stripping white space?

2001-07-09 Thread Navid A. Yar
rence... -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 12:16 AM To: '[EMAIL PROTECTED]'; Kurt Lieber; [EMAIL PROTECTED] Subject: RE: [PHP] stripping white space? I would not be stripping white spaces, but double white spaces into single &#

Re: [PHP] stripping white space?

2001-07-09 Thread Kurt Lieber
overlooking something. --kurt - Original Message - From: "Chris Lambert - WhiteCrown Networks" <[EMAIL PROTECTED]> To: "Kurt Lieber" <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 10:11 PM Subject: Re: [PHP] stripping white space? > Nothing can _easily_ do thi

Re: [PHP] stripping white space?

2001-07-09 Thread Kurt Lieber
<[EMAIL PROTECTED]> To: "Kurt Lieber" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 10:04 PM Subject: Re: [PHP] stripping white space? > Hi, > > I take that you simply want to remove ALL whitespaces > from a data block (variable). > &

RE: [PHP] stripping white space?

2001-07-09 Thread Jack Dempsey
ut right... jack -Original Message- From: Mukul Sabharwal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 1:05 AM To: Kurt Lieber; [EMAIL PROTECTED] Subject: Re: [PHP] stripping white space? Hi, I take that you simply want to remove ALL whitespaces from a data block (variable

Re: [PHP] stripping white space?

2001-07-09 Thread Mukul Sabharwal
Hi, I take that you simply want to remove ALL whitespaces from a data block (variable). you could simply use str_replace(" ", "", $var); --- Kurt Lieber <[EMAIL PROTECTED]> wrote: > Is there a way using PHP to easily strip white space > out of an html page as > it's being sent to the client.

[PHP] stripping white space?

2001-07-09 Thread Kurt Lieber
Is there a way using PHP to easily strip white space out of an html page as it's being sent to the client. That is to say, the page that we as developers work on is nicely formatted, indented, etc. but when it's sent out to the client, PHP will remove all the extra white space both to obfuscate t