title: encryption in php
body: <pre><code>$key = file_get_contents('http://keyserver.pramberger.at/pks/lookup?op=get&amp;search=userid');
  </code></pre>
  
  <p>this code gives me public key with the html tag .how to extract the public key block form begin pgp public key block ---to---- end pgp public key block  and using this public key i need to encrypt the data .i need to do it in php.</p>