encrypt source code??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Skywalker
Forum Contributor
Posts: 117
Joined: Thu Aug 29, 2002 3:33 am
Location: The Netherlands

encrypt source code??

Post 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.
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post 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.
Post Reply