How to decomment an html/php webpage?

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2011-03-17T14:00:02Z Indexed on 2011/03/17 16:10 UTC
Read the original article Hit count: 277

Filed under:
|
|
|
|

A crazy question:

Imagine a webpage file called somepage.php And it contains some html php contents in my editor I see:

<html><head></head><body>  
<?=$welcome . $essay . $thatsAllForNowFolks . $footer ?>

<!--
Blue
Ball
Bell
Blow
Bows
Bats
Beef
Bark
Bill
Boss

-->
</body></html>

When I browse my site I see those comments in the final result, while I only want that comment to be only in my editor for my secretive inspirations and don't want the whole world to know what I'm thinking when I'm developing, as well as I see those comments for any and all my website visitors as wasted bandwitch of internet speed.

How do I decomment my entire html/php files at the moment the html is served? Ideas, code and suggestions are much appreciated. My thanks in advance...

© Stack Overflow or respective owner

Related posts about php

Related posts about html