Page 1 of 1

encrypt source code??

Posted: Tue Dec 10, 2002 2:03 am
by Skywalker
Is ther a posbility that the html source in an .php page can be encrypted when somebody whants to have a look at the source?

Wher can I find some information about this thing en wher can I find how to do stuff like this?

If it posible.

Posted: Tue Dec 10, 2002 5:04 pm
by mydimension
not really possible since browsers expect web pages to be in the standard ASCII character set. and any change in the actual content between server and browser will be reflected in the way the page displays, so if you do a binary encryption your page will not display as html.

a common practice among paranoid web developers is to remove all newlines in ther html source, effectively putting the entire markup on one line. browsers can still read this with no problem.