PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gnupg_getprotocol> <gnupg_export
Last updated: Fri, 30 Jan 2009

view this page in

gnupg_geterror

(PECL gnupg >= 0.1)

gnupg_geterror関数が失敗した場合にエラー文字列を返す

説明

string gnupg_geterror ( resource $identifier )

パラメータ

identifier

gnupg_init() あるいは gnupg のコールで得られた gnupg ID。

返り値

エラーが発生した場合にエラー文字列、それ以外の場合に FALSE を返します。

例1 手続き型の gnupg_geterror() の例

<?php
$res 
gnupg_init();
echo 
gnupg_geterror($res);
?>

例2 オブジェクト指向の gnupg_geterror() の例

<?php
$gpg 
= new gnupg();
echo 
$gpg -> geterror();
?>



add a note add a note User Contributed Notes
gnupg_geterror
There are no user contributed notes for this page.

gnupg_getprotocol> <gnupg_export
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites