If you are referring to PHP comments, they are not delivered to the
browser.  If you mean compiled Java code, comments are not in the
.class files.  If you mean HTML comments, you could use output
buffering and then strip out the comments from the buffer before you
send it to the browser.  Be aware though that some HTML comments may
be in there for browser compatibility and you will not want to remove
them or you may break the way the page looks.

Since this is a PHP list, I'll assume you mean comments in a PHP file.
 There is no PHP code or PHP comments that are delivered to the
browser.  The code is *all* run on the server and only the output from
this code will be delivered to the browser.  If you are outputting
comments in your PHP code then *those* comments would be delivered,
but no other regular comments would be.  

Is this what you mean?

Dave

--- In [email protected], Paul Menard <[EMAIL PROTECTED]> wrote:
> Happy Monday to all,
> 
> Does anyone have a slick way of filtering out coding comments from
the characters delivered to the
> browser? What I'm getting at is in some places the comments in the
code amount to significant
> character count. Making up close to half the character count on a
given module/class file. I would
> like a way to exclude these from actually being delivered to the
client browser since they are of
> no real use.
> 
> Seems like someone would have run across this on this list.
> 
> Regards,
> 
> P-




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to