Writing output that will not be displayed by HTML?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • FutureShock

    Writing output that will not be displayed by HTML?

    What would be the BEST way to output text to a webpage but only be
    viewable with 'view source', not HTML.

    The reason I ask is that I have been tasked to update some already
    created pages and would like to stamp it, not so much copyright stuff
    but for credit for the work.

    Hope that makes sense.

    Thanks
    Scotty
  • Beauregard T. Shagnasty

    #2
    Re: Writing output that will not be displayed by HTML?

    FutureShock wrote:
    What would be the BEST way to output text to a webpage but only be
    viewable with 'view source', not HTML.
    >
    The reason I ask is that I have been tasked to update some already
    created pages and would like to stamp it, not so much copyright stuff
    but for credit for the work.
    echo "<!-- <p>Modified 2008-10-07 by FutureShock</p-->\n";

    --
    -bts
    -Friends don't let friends drive Windows

    Comment

    • FutureShock

      #3
      Re: Writing output that will not be displayed by HTML?

      Beauregard T. Shagnasty wrote:
      FutureShock wrote:
      >
      >What would be the BEST way to output text to a webpage but only be
      >viewable with 'view source', not HTML.
      >>
      >The reason I ask is that I have been tasked to update some already
      >created pages and would like to stamp it, not so much copyright stuff
      >but for credit for the work.
      >
      echo "<!-- <p>Modified 2008-10-07 by FutureShock</p-->\n";
      >
      *SIGH*

      I suppose if I would of got off my butt and read my HTML book....hehe.

      Thanks for the reply.

      Scotty

      Comment

      • Geoff Berrow

        #4
        Re: Writing output that will not be displayed by HTML?

        Message-ID: <kEVGk.2580$x%. 2058@nlpi070.nb dc.sbc.comfrom FutureShock
        contained the following:
        >echo "<!-- <p>Modified 2008-10-07 by FutureShock</p-->\n";
        >>
        >
        >*SIGH*
        >
        >I suppose if I would of got off my butt and read my HTML book....hehe.
        >
        http://uk3.php.net/getlastmod or
        http://uk3.php.net/manual/en/function.filemtime.php might be useful too.
        --
        Geoff Berrow 011000100110110 0010000000110
        001101101011011 001000110111101 100111001011
        100110001101101 111001011100111 010101101011
        http://slipperyhill.co.uk - http://4theweb.co.uk

        Comment

        Working...