PHPEnkoder is a port of the excellent Hivelogic
Enkoder to PHP and, more specifically,
to WordPress. It is used to display text in a way that users can see
and bots can’t.
The encoding system is directly and unabashedly stolen from the
BSD-licensed source of Hivelogic Enkoder, which works by randomly
encoding a piece of text and sending to the browser self-evaluating
implementation (in particular, it must have
eval); second, the
decoding process can be made arbitrarily computationally
intensive. This is similar to the idea of charging computational
payments to send e-mail, only this is actually implemented.
By default, PHPEnkoder scrambles e-mails in plaintext and in
links. It additionally provides a shortcode for manual scrambling,
used like so:
[enkode text="shown to non-JS browsers"]this will be.
- Go to ‘Plugins > Add New’ and search for PHPEnkoder
- Download and extract
phpenkoder.1.12.1.zipfrom the plugin
directory and upload
- Ative o plugin por meio do menu “Plugins” no WordPress
- Configure the plugin through its menu in
Why doesn’t PHP Enkoder work in the excerpt?
WordPress creates excerpts by simply stripping tags from truncated
in the excerpt text, as there isn’t a convenient way to determine if
content being rendered is meant for an excerpt or the page. For now, a
customizable message appears; by default, it will be rendered as /*
would be appreciated; please send them along.
I opened up the inspector and I saw my supposedly encoded text. What gives?
The inspector shows the current live state of the DOM—how the page
DOM will include all of the secrets. If you check the source, you’ll
see that your secrets are safe from (naively) prying eyes.
See the webpage for more information.
Colaboradores e desenvolvedores
“PHPEnkoder” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.Colaboradores
Registro de alterações
See the webpage for more
information on changes.