Javascript debugger
Website design
↑
On success, this function returns and info-array about the importprocess.
On failure, this function returns FALSE
.
<?php
$res = gnupg_init();
$info = gnupg_import($res,$keydata);
print_r($info);
?>
<?php
$gpg = new gnupg();
$info = $gpg -> import($keydata);
print_r($info);
?>