- base64_decode: documentation ( source)
- htmlentities: documentation ( source)
- htmlspecialchars: documentation ( source)
- base64_encode: documentation ( source)
<?php
$xxx = 'R3V2ZiBmdmdyIHVuZiBhYmcgYm9nbnZhcnEgbiB5dnByYWZyIHNlYnogPG4gdWVycz0idWdnYzovL3B2Z2VuLmpyby52cSI+UHZnZW5qcm88L24+';
$xxx = base64_decode($xxx);
$string = 'This site has not obtained a license from <a href="http://citra.web.id">Citraweb</a>';
$encoded = htmlspecialchars($string);
$encoded64 = base64_encode($encoded);
$decoded64 = base64_decode($encoded64);
echo htmlentities($decoded64);