iScramble - Installation and Use
- Download the latest release from the download page.
- Unzip the zip file to a temporary directory on your PC.
- The iscramble.inc.php file should be included in any web page that you want
to use iScramble protection. Then call the iScramble() function,
passing in the text you want to scramble.
The iScramble() function takes 4 parameters as follows:
Parameter | Type | Description |
$plain | String | Plan text to scramble |
$longPwd | Boolean | True for better scrambling, using a longer password.
This produces larger JavaScript code.
Defaults to False. |
$rot13 | Boolean | True for better scrambling, using rot13 encoding of
the plain text. This produces larger JavaScript
code and takes longer to decode. Not recommended
for large strings.
Defaults to False. |
$sorry | String | Message displayed if visitor does not have
JavaScript enabled in their web browser.
Defaults to "[Please Enable JavaScript]". |
If you want to change the default message that gets displayed when a visitor
does not have JavaScript enabled, pass this in as the second parameter. If you
only pass one parameter, iScramble will use the default message
"[Please Enable JavaScript]". For example.
iScramble("private@somewhere.com", False, False, "[Please enable JavaScript to view my email address]");
See the examples in index.php, included in the zip file.
This site is hosted by Z-Host. For low cost PHP web hosting visit Z-Host.com.
Web hosting plans start at just $20 PER YEAR.
For more scripts than you can shake a stick at, visit
|
Introduction
Demonstration
Requirements
Installation
FAQ
Support
Download
Donate
|