Hiding Code


i think what he is looking to do is when someone goes to View Source there is nothing displayed since the actual html code is being retrived from another file... by the way Puprlosa, PHP is processed on the server, and only HTML is sent to the client.

maybe try frames?
If you want to echo the source and have it processed at the same time you will need to echo the source.

Your other option is to have the code with a .phps extension which by default echo's code.
Do you want to use another PHP page within your page???

You can use include for it

for the .phps extension, you can set that extension in Apache, Apache will display all the code of PHP in the PHP code higlight colors