13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

424 Chapter 18 Implementing Secure Transactions with <strong>PHP</strong> <strong>and</strong> <strong>MySQL</strong><br />

Listing 18.1<br />

Continued<br />

echo 'WARNING: you have not<br />

connected to this page using SSL. Your message could<br />

be read by others.';<br />

}<br />

?><br />

<br />

Your email address:<br />

<br />

Subject:<br />

<br />

Your message:<br />

<br />

<br />

<br />

<br />

<br />

<br />

Listing 18.2 send_private_mail.php—The <strong>PHP</strong> Script to Call GPG <strong>and</strong> Send<br />

Encrypted Email<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!