Онлайн Компресор тексту на PHP (+ скачати PHP скрипт)

По темі:


Зашифровка HTML кода или любого текста

На більшості сайтів HTML код знаходиться у відкритому доступі, це означає, що будь-який веб-майстер, може без праці відтворити його, просто дивлячись на екран готової веб-сторінки.

Однак деякі оптимізатори розглядають вихідний HTML код своїх вебпроектів, як комерційну таємницю або «ноу-хау».

Зберегти від несанкціонованого використання свою інтелектуальну працю, допоможе даний сервіс, за допомогою якого ви зможете швидко зашифрувати вихідний HTML код через javascript.

Кодує html або будь-який текст в java-script. Зручно для приховування будь-якої інформації (наприклад, від рипів або захист e-mail від спаму.)

Завантажити A JavaScript Compressor [script PHP] packer-php.rar packer-php.rar Virus Free by KAV

script to pack:

Note: this page needs to be updated for version 3.0.

Usage

All statements, including function declarations, must be correctly terminated with semi-colons.

The packing algorithm is forgiving of all forms of JavaScript with one exception. You must correctly terminate all JavaScript statements with semi-colons. This includes function declarations.

Here is an example of correct, semi-colon terminated JavaScript:

  // Sample code

 var input, output;

 // Notice the semi-colon at the END of function declarations

 onload = function () {
  input = document.getElementById ( "input");
  output = document.getElementById ( "output");
  clearAll (true);
 };

 function packScript () {
  output.value = pack (input.value);
 };

 function clearAll (focus) {
  output.value = input.value = "";
  // The "if" statement is NOT terminated with a semi-colon
  if (focus) {
  input.focus ();
  }
 }; 

Options

Base62 encode

Shrink variables

Features

Debug code (;;;)

Three semi-colons (;;;) are treated like single-line comments.

For example, this code:

  ;;;  alert ( "TEST!"); 

Would be removed by the packing program.

Platforms

Packed scripts should successfully unpack on all browsers that support JavaScript . Only basic JavaScript functionality is used to decode the packed script.

Some browsers may not support the packer itself. The web interface requires DOM support. Legacy browsers will display a disabled interface.