Spambot Email Protector Mailto Links

By Perchpole - October 1, 2015

Update

It's worth noting that I am using a mysql_get call to get the records from the accounts table. I am doing so because the list of users is selected from a drop-down list:

<?php $selectedUserNums = explode("\t", trim($selectedPage['setUsers'], "\t")); ?>
<?php foreach($selectedUserNums as $selectedUser): ?>
  <?php $thisUser = mysql_get('accounts', $selectedUser); ?>
  <?php echo $thisUser['email'] ?>
  etc...
<?php endforeach ?>

Could I use a getRecords() call? If so, what would be the Where clause?

:0(

Perch

By Damon - October 1, 2015

Hi,

Could you open up the spambotEmailProtector.php file and try using the following for the Encoding Options:

// Encoding Options - to disable an encoding method set to false;
$GLOBALS['SEP_ENCODING_METHODS']['decEntity']   = true;
$GLOBALS['SEP_ENCODING_METHODS']['hexEntity']   = true;
$GLOBALS['SEP_ENCODING_METHODS']['urlEncoding'] = true;
$GLOBALS['SEP_ENCODING_METHODS']['jsUnicode']   = true;
$GLOBALS['SEP_ENCODING_METHODS']['bdo']         = false;
$GLOBALS['SEP_ENCODING_METHODS']['comments']    = false;
$GLOBALS['SEP_ENCODING_METHODS']['tags']        = false;
$GLOBALS['SEP_ENCODING_METHODS']['jsLocation']  = true;

Let me know if this works for you.

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Perchpole - October 1, 2015

H, Damon -

Thanks for the tip. Your suggestion does seem to work but the end result is that the email address is no-longer encrypted!

:0/

Perch

By Damon - October 1, 2015

Thanks for the tip. Your suggestion does seem to work but the end result is that the email address is no-longer encrypted!

That should not have happened. In my tests the emails were still encrypted for me. 

Can you send the link to the site page, with username and password to support@interactivetools.com?

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/