Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old October 8th, 2008, 03:05 AM
FutureShock
Guest
 
Posts: n/a
Default 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
  #2  
Old October 8th, 2008, 03:45 AM
Beauregard T. Shagnasty
Guest
 
Posts: n/a
Default Re: Writing output that will not be displayed by HTML?

FutureShock wrote:
Quote:
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
  #3  
Old October 8th, 2008, 04:25 AM
FutureShock
Guest
 
Posts: n/a
Default Re: Writing output that will not be displayed by HTML?

Beauregard T. Shagnasty wrote:
Quote:
FutureShock wrote:
>
Quote:
>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
  #4  
Old October 8th, 2008, 08:05 AM
Geoff Berrow
Guest
 
Posts: n/a
Default Re: Writing output that will not be displayed by HTML?

Message-ID: <kEVGk.2580$x%.2058@nlpi070.nbdc.sbc.comfrom FutureShock
contained the following:
Quote:
Quote:
>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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles