Monday, November 06, 2006

PHP_INFO()

Depois de copiar a dll para a pasta das extensões do PHP o php_info() irá mostrar a tabela com a informação da dll:



Criada pela função PHP_MINFO_FUNCTION :


PHP_MINFO_FUNCTION(gpib){
php_info_print_table_start();
php_info_print_table_header(2, "GPIB Functions", "enabled");
php_info_print_table_row(2, "Gpib Version","0.1");
php_info_print_table_row(2, "Gpib Date","26/10/2006");
php_info_print_table_row(2, "Gpib Author","José Mendonça");
php_info_print_table_end();
/* Remove comments if you have entries
in php.ini DISPLAY_INI_ENTRIES(); */
}

No comments: