Sorry if this is a dumb question.
I would like to keep my PHP source code from being directly viewed or copied. I know this means keeping the PHP source out of the public web document tree on my website but I don't know how to do that.
I think I need to put my PHP source in a directory that is not on the public document tree and then I need to somehow tell Apache that when it sees:
"/docs/myscript.php"
it should actually execute:
"/myhomedirectory/notpublicdirectory/myscript.php"
Can anyone please tell me how to do this?
Thanks!!![/code]