webdev007
Programmer
- Sep 9, 2005
- 168
I am wondering if by storing in my DB an "encode()" email then do <a href= using decode() am I at least offering some security againt harvester
the reason behind is that I do not want utilizing JS.
and am looking for a solution using PHP
<<<
<?
// coding
$email="henry@whatever.com";
$new_email=(base64_encode($email));
echo"$new_email<p>";
// decoding
$back_to_email=(base64_decode($new_email));
echo"$back_to_email<p>";
?>
>>>
the reason behind is that I do not want utilizing JS.
and am looking for a solution using PHP
<<<
<?
// coding
$email="henry@whatever.com";
$new_email=(base64_encode($email));
echo"$new_email<p>";
// decoding
$back_to_email=(base64_decode($new_email));
echo"$back_to_email<p>";
?>
>>>