Securing Code of my Webpage

Status
Not open for further replies.
TheMajor said:
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:
My Webpage</p>
That's exactly what you'll see when you view source. Then you can write it in PHP:
<?php print("

My Webpage</p>"); ?>
And when you click view source, you'll see the HTML output, which is:
My Webpage</p>
:confused:
 
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
 
Status
Not open for further replies.
Back
Top Bottom