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, 22 Aug 2008

view this page in

gnupg_geterror

(PECL gnupg:0.1-1.3.1)

gnupg_geterrorReturns the errortext, if a function fails

Descrição

string gnupg_geterror ( resource $identifier )

Parâmetros

identifier

The gnupg identifier, from a call to gnupg_init() or gnupg.

Valor Retornado

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

Exemplos

Exemplo #1 Procedural gnupg_geterror() example

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

Exemplo #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, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites