Jump to content

Hide the Script with php code in open view source


Recommended Posts

that's not possible. If the browser is to render it, it needs to be in the source or otherwise accessible over HTTP. If you really want to hide it, make it only accessible from outside of the webroot and use a proxy script that handles the authentication before serving the privileged content.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...