PHP code example of qrzysio / safe_mailto
1. Go to this page and download the library: Download qrzysio/safe_mailto library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
qrzysio / safe_mailto example snippets
echo safe_mailto("[email protected]");
echo safe_mailto("[email protected]", "Contact us");
echo safe_mailto("[email protected]", "Contact us", ["class" => "text-danger", "data-target" => "#lightbox"]);
echo safe_mailto("[email protected]", "Contact us", 'style="font-size:2em;"');