Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Securing Code of my Webpage
Closed Thread
Old 10-14-2004, 06:58 PM   #11 (permalink)
 
Monster Techie

Join Date: Jul 2003

Posts: 1,179

Emily is on a distinguished road

Send a message via AIM to Emily
Default

Quote:
Originally posted by TheMajor
You can write everything in PHP, a default HTML page will be returned to the browser.
If you write everything in PHP, when you click view source, you'll see the HTML output. So, say you write it in HTML:
Quote:

My Webpage</p>
That's exactly what you'll see when you view source. Then you can write it in PHP:
Quote:
<?php print("

My Webpage</p>"); ?>
And when you click view source, you'll see the HTML output, which is:
Quote:

My Webpage</p>

__________________
<a href=\"http://www.upstark.com\">www.upstark.com</a>
Emily is offline  
Old 10-14-2004, 07:18 PM   #12 (permalink)
TheMajor's Avatar
 
PowerQuest / Opera

Join Date: Jun 2004

Location: Netherlands

Posts: 10,101

TheMajor is on a distinguished road

Default

but I think Javascripts will still be visible in the output right Emily? because the browser eventually needs them to execute....so its pretty hard to hide them
__________________
TheMajorMMX - Intel P200 MMX @ 225Mhz - V-Tech (PcPartner) Baby-AT mb w/ Intel Triton TX chipset - Nvidia Riva TNT2 M64 w/ 16MB - Still running.....
TheMajor is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On