By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,303 Members | 1,245 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,303 IT Pros & Developers. It's quick & easy.

Writing output that will not be displayed by HTML?

P: n/a
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
Oct 8 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Oct 8 '08 #2

P: n/a
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
Oct 8 '08 #3

P: n/a
Message-ID: <kE****************@nlpi070.nbdc.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 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
http://slipperyhill.co.uk - http://4theweb.co.uk
Oct 8 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.