Re: [PHP] stripping white space?

2001-07-10 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-10 Thread Navid A. Yar
) [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 eventually convert their projects over

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 website

Re: [PHP] stripping white space?

2001-07-10 Thread Bart Veldhuizen
]] Sent: Tuesday, July 10, 2001 6:07 PM To: Maxim Maletsky; [EMAIL PROTECTED] Subject: Re: [PHP] stripping white space? Hi Maxim, I am definitely interested in seeing your caching modules - it could be a useful resource for ours. Right now our caching module is only in the planning stage

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 Chadwick, Russell
: 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 hold more then 1024 (?) files in a single

RE: [PHP] stripping white space?

2001-07-10 Thread Brian White
. Sincerely, Navid Yar -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 1:06 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP] stripping white space? Yeah, I know that XML requires it. And I also know that it is not a good

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. That is

RE: [PHP] stripping white space?

2001-07-09 Thread Jack Dempsey
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). you could simply use str_replace( , , $var); --- Kurt

Re: [PHP] stripping white space?

2001-07-09 Thread Kurt Lieber
Sabharwal [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). you could simply use str_replace( , , $var

Re: [PHP] stripping white space?

2001-07-09 Thread Kurt Lieber
. --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 this, as HTML puts formatting and content on the same page. You

RE: [PHP] stripping white space?

2001-07-09 Thread Navid A. Yar
... -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 ' '; for example

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, if you know that it's illegal XHTML and XML