本文整理汇总了C++中php_info_print_table_row函数的典型用法代码示例。如果您正苦于以下问题:C++ php_info_print_table_row函数的具体用法?C++ php_info_print_table_row怎么用?C++ php_info_print_table_row使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了php_info_print_table_row函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: PHP_MINFO_FUNCTION
static PHP_MINFO_FUNCTION(phalcon)
{
php_info_print_table_start();
php_info_print_table_row(2, "Phalcon Framework", "enabled");
php_info_print_table_row(2, "Phalcon Version", PHP_PHALCON_VERSION);
php_info_print_table_end();
}
示例2: PHP_MINFO_FUNCTION
/* {{{ PHP_MINFO_FUNCTION
*/
static PHP_MINFO_FUNCTION(json)
{
php_info_print_table_start();
php_info_print_table_row(2, "json support", "enabled");
php_info_print_table_row(2, "json version", PHP_JSON_VERSION);
php_info_print_table_end();
}
示例3: php_info_webjames
static void php_info_webjames(ZEND_MODULE_INFO_FUNC_ARGS)
{
php_info_print_table_start();
php_info_print_table_row(2, "SAPI module version", WEBJAMES_SAPI_VERSION);
php_info_print_table_row(2, "WebJames version", WEBJAMES_VERSION " (" WEBJAMES_DATE ")");
php_info_print_table_end();
}
示例4: PHP_MINFO_FUNCTION
static PHP_MINFO_FUNCTION(hstore)
{
php_info_print_table_start();
php_info_print_table_row(2, "HStore support", "enabled");
php_info_print_table_row(2, "HStore version", PHP_HSTORE_VERSION);
php_info_print_table_end();
}
示例5: PHP_MINFO_FUNCTION
/* {{{ PHP_MINFO_FUNCTION */
static PHP_MINFO_FUNCTION(rrd)
{
php_info_print_table_start();
php_info_print_table_header(2, "rrd tool module", "enabled");
php_info_print_table_row(2, "rrd tool module version", PHP_RRD_VERSION);
php_info_print_table_row(2, "rrdtool library version", rrd_strversion());
php_info_print_table_end();
}
示例6: PHP_MINFO_FUNCTION
/* {{{ PHP_MINFO_FUNCTION
*/
static PHP_MINFO_FUNCTION(json)
{
php_info_print_table_start();
php_info_print_table_row(2, "json support", "enabled");
php_info_print_table_row(2, "json version", PHP_JSON_VERSION);
php_info_print_table_row(2, "json remark", "support for non utf8 charset, like 5.3, modify by [email protected]");
php_info_print_table_end();
}
示例7: php_info_pi3web
static void php_info_pi3web(ZEND_MODULE_INFO_FUNC_ARGS)
{
char variable_buf[PI3WEB_SERVER_VAR_BUF_SIZE];
DWORD variable_len;
LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);
PIDB *pDB = (PIDB *)lpCB->GetVariableNames(lpCB->ConnID);
PIDBIterator *pIter = PIDB_getIterator( pDB, PIDBTYPE_STRING, 0, 0 );
PUTS("<table border=0 cellpadding=3 cellspacing=1 width=600 align=center>\n");
PUTS("<tr><th colspan=2 bgcolor=\"" PHP_HEADER_COLOR "\">Pi3Web Server Information</th></tr>\n");
php_info_print_table_header(2, "Information Field", "Value");
php_info_print_table_row(2, "Pi3Web SAPI module version", "$Id: pi3web_sapi.c 306939 2011-01-01 02:19:59Z felipe $");
php_info_print_table_row(2, "Server Name Stamp", HTTPCore_getServerStamp());
snprintf(variable_buf, 511, "%d", HTTPCore_debugEnabled());
php_info_print_table_row(2, "Debug Enabled", variable_buf);
PIPlatform_getCurrentDirectory( variable_buf, PI3WEB_SERVER_VAR_BUF_SIZE);
php_info_print_table_row(2, "Current Path", variable_buf);
if (lpCB->GetServerVariable(lpCB->ConnID, "SERVER_NAME", variable_buf, &variable_len)
&& variable_buf[0]) {
php_info_print_table_row(2, "Main Virtual Hostname", variable_buf);
};
snprintf(variable_buf, 511, "%d", PIPlatform_getProcessId());
php_info_print_table_row(2, "Server PID", variable_buf);
php_info_print_table_row(2, "Server Platform", PIPlatform_getDescription());
PUTS("</table><br />");
PUTS("<table border=0 cellpadding=3 cellspacing=1 width=600 align=center>\n");
PUTS("<tr><th colspan=2 bgcolor=\"" PHP_HEADER_COLOR "\">HTTP Request Information</th></tr>\n");
php_info_print_table_row(2, "HTTP Request Line", lpCB->lpszReq);
PUTS("<tr><th colspan=2 bgcolor=\"" PHP_HEADER_COLOR "\">HTTP Headers</th></tr>\n");
php_info_print_table_header(2, "Server Variable", "Value");
/* --- loop over all registered server variables --- */
for(; pIter && PIDBIterator_atValidElement( pIter ); PIDBIterator_next( pIter ) )
{
PCHAR pKey;
PIDBIterator_current( pIter, &pKey );
if ( !pKey ) { /* sanity */ continue; };
variable_len = PI3WEB_SERVER_VAR_BUF_SIZE;
if (lpCB->GetServerVariable(lpCB->ConnID, pKey, variable_buf, &variable_len)
&& variable_buf[0]) {
php_info_print_table_row(2, pKey, variable_buf);
} else if (PIPlatform_getLastError() == PIAPI_EINVAL) {
char *tmp_variable_buf;
tmp_variable_buf = (char *) emalloc(variable_len);
if (lpCB->GetServerVariable(lpCB->ConnID, pKey, tmp_variable_buf, &variable_len)
&& variable_buf[0]) {
php_info_print_table_row(2, pKey, tmp_variable_buf);
}
efree(tmp_variable_buf);
}
}
PUTS("</table>");
}
示例8: PHP_MINFO_FUNCTION
/**
* @brief Module initialization function
* @param zend_module Pointer to the module entry
* @param tsrm_ls
*/
static PHP_MINFO_FUNCTION(pmta)
{
php_info_print_table_start();
php_info_print_table_row(2, "PHP Submission API for PowerMTA", "enabled");
php_info_print_table_row(2, "Version", PHP_PMTA_EXTVER);
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
}
示例9: PHP_MINFO_FUNCTION
/* {{{ PHP_MINFO_FUNCTION */
static PHP_MINFO_FUNCTION(clmandelbrot)
{
php_printf("PHP Matsuri 2011\n");
php_info_print_table_start();
php_info_print_table_row(2, "Version",PHP_CLMANDELBROT_VERSION " (alpha)");
php_info_print_table_row(2, "Released", "2011-10-16");
php_info_print_table_row(2, "Authors", "Ryusuke Sekiyama '[email protected]' (lead)\n");
php_info_print_table_end();
}
示例10: PHP_MINFO_FUNCTION
static PHP_MINFO_FUNCTION(tidy)
{
php_info_print_table_start();
php_info_print_table_header(2, "Tidy support", "enabled");
php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate());
php_info_print_table_row(2, "Extension Version", PHP_TIDY_VERSION " ($Id: cdda540586e209c347c9a8c68fc07bbc615d8435 $)");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
}
示例11: php_info_pi3web
static void php_info_pi3web(ZEND_MODULE_INFO_FUNC_ARGS)
{
char **p = pi3web_server_variables;
char variable_buf[PI3WEB_SERVER_VAR_BUF_SIZE];
DWORD variable_len;
LPCONTROL_BLOCK lpCB;
SLS_FETCH();
lpCB = (LPCONTROL_BLOCK) SG(server_context);
PUTS("<table border=0 cellpadding=3 cellspacing=1 width=600 align=center>\n");
PUTS("<tr><th colspan=2 bgcolor=\"" PHP_HEADER_COLOR "\">Pi3Web Server Information</th></tr>\n");
php_info_print_table_header(2, "Information Field", "Value");
php_info_print_table_row(2, "Pi3Web SAPI module version", "$Id$");
php_info_print_table_row(2, "Server Name Stamp", HTTPCore_getServerStamp());
snprintf(variable_buf, 511, "%d", HTTPCore_debugEnabled());
php_info_print_table_row(2, "Debug Enabled", variable_buf);
PIPlatform_getCurrentDirectory( variable_buf, PI3WEB_SERVER_VAR_BUF_SIZE);
php_info_print_table_row(2, "Current Path", variable_buf);
if (lpCB->GetServerVariable(lpCB->ConnID, "SERVER_NAME", variable_buf, &variable_len)
&& variable_buf[0]) {
php_info_print_table_row(2, "Main Virtual Hostname", variable_buf);
};
snprintf(variable_buf, 511, "%d", PIPlatform_getProcessId());
php_info_print_table_row(2, "Server PID", variable_buf);
php_info_print_table_row(2, "Server Platform", PIPlatform_getDescription());
PUTS("</table><BR>");
PUTS("<table border=0 cellpadding=3 cellspacing=1 width=600 align=center>\n");
PUTS("<tr><th colspan=2 bgcolor=\"" PHP_HEADER_COLOR "\">HTTP Request Information</th></tr>\n");
php_info_print_table_row(2, "HTTP Request Line", lpCB->lpszReq);
PUTS("<tr><th colspan=2 bgcolor=\"" PHP_HEADER_COLOR "\">HTTP Headers</th></tr>\n");
php_info_print_table_header(2, "Server Variable", "Value");
while (*p) {
variable_len = PI3WEB_SERVER_VAR_BUF_SIZE;
if (lpCB->GetServerVariable(lpCB->ConnID, *p, variable_buf, &variable_len)
&& variable_buf[0]) {
php_info_print_table_row(2, *p, variable_buf);
} else if (PIPlatform_getLastError() == PIAPI_EINVAL) {
char *tmp_variable_buf;
tmp_variable_buf = (char *) emalloc(variable_len);
if (lpCB->GetServerVariable(lpCB->ConnID, *p, tmp_variable_buf, &variable_len)
&& variable_buf[0]) {
php_info_print_table_row(2, *p, tmp_variable_buf);
}
efree(tmp_variable_buf);
}
p++;
}
PUTS("</table>");
}
示例12: PHP_MINFO_FUNCTION
static PHP_MINFO_FUNCTION(tensile)
{
php_info_print_table_start();
php_info_print_table_row(2, "Tensorflow Support", "enabled");
php_info_print_table_row(2, "Build", TENSILE_VERSION);
php_info_print_table_row(2, "Release", TENSILE_FLAVOR);
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
}
示例13: ZEND_MINFO_FUNCTION
static ZEND_MINFO_FUNCTION(zopfli)
{
php_info_print_table_start();
php_info_print_table_row(2, "Zopfli support", "enabled");
php_info_print_table_row(2, "Extension Version", ZOPFLI_EXT_VERSION);
#ifdef HAVE_ZLIB_H
php_info_print_table_row(2, "Zopfli png recompress", "supported");
#else
php_info_print_table_row(2, "Zopfli png recompress", "not supported");
#endif
php_info_print_table_end();
}
示例14: PHP_MINFO_FUNCTION
/* {{{ PHP_MINFO_FUNCTION */
static PHP_MINFO_FUNCTION(zlib)
{
php_info_print_table_start();
php_info_print_table_header(2, "ZLib Support", "enabled");
php_info_print_table_row(2, "Stream Wrapper", "compress.zlib://");
php_info_print_table_row(2, "Stream Filter", "zlib.inflate, zlib.deflate");
php_info_print_table_row(2, "Compiled Version", ZLIB_VERSION);
php_info_print_table_row(2, "Linked Version", (char *) zlibVersion());
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
}
示例15: ZEND_MINFO_FUNCTION
static ZEND_MINFO_FUNCTION(msgpack)
{
php_info_print_table_start();
php_info_print_table_row(2, "MessagePack Support", "enabled");
#if HAVE_PHP_SESSION
php_info_print_table_row(2, "Session Support", "enabled" );
#endif
php_info_print_table_row(2, "extension Version", MSGPACK_EXTENSION_VERSION);
php_info_print_table_row(2, "header Version", MSGPACK_VERSION);
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
}