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

search for in the

gnupg_getprotocol> <gnupg_export
Last updated: Fri, 01 Aug 2008

view this page in

gnupg_geterror

(PECL gnupg:0.1-1.3.1)

gnupg_geterrorReturns the errortext, if a function fails

Descrierea

string gnupg_geterror ( resource $identifier )

Parametri

identifier

Identificatorul gnupg, obţinut în rezultatul apelării gnupg_init() sau gnupg.

Valorile întroarse

Returns an errortext, if an error has occurred, otherwise FALSE.

Exemple

Example #1 Procedural gnupg_geterror() example

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

Example #2 OO gnupg_geterror() example

<?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, 01 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites