Hide source

I want to know how to hide some source code for a friend. It is a javascript which holds passwords, and a basic login. It need to be not viewable via view source. I am not sure if it can be hidden with php, if egt can be done with another language please say. Encrypting is an option, but only if possible.

I do not have the javascript source, but if it is needed i may be able to get it.

thanks,

Javascript is client-side and will NEVER be hidden, as it is being sent to the client for execution. Serverside scripts like PHP or ASP do their jobs on the server, and will never be sent to the client unless you specifically want it to be. So my advise would be to go for a serverside script.

Sponsor our Newsletter | Privacy Policy | Terms of Service