home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Magazine / HomeAutomation / Apache / include / php / ext / standard / info.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-26  |  3.7 KB  |  82 lines

  1. /* 
  2.    +----------------------------------------------------------------------+
  3.    | PHP HTML Embedded Scripting Language Version 3.0                     |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1997,1998 PHP Development Team (See Credits file)      |
  6.    +----------------------------------------------------------------------+
  7.    | This program is free software; you can redistribute it and/or modify |
  8.    | it under the terms of one of the following licenses:                 |
  9.    |                                                                      |
  10.    |  A) the GNU General Public License as published by the Free Software |
  11.    |     Foundation; either version 2 of the License, or (at your option) |
  12.    |     any later version.                                               |
  13.    |                                                                      |
  14.    |  B) the PHP License as published by the PHP Development Team and     |
  15.    |     included in the distribution in the file: LICENSE                |
  16.    |                                                                      |
  17.    | This program is distributed in the hope that it will be useful,      |
  18.    | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
  19.    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        |
  20.    | GNU General Public License for more details.                         |
  21.    |                                                                      |
  22.    | You should have received a copy of both licenses referred to here.   |
  23.    | If you did not, or have any questions about PHP licensing, please    |
  24.    | contact core@php.net.                                                |
  25.    +----------------------------------------------------------------------+
  26.    | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca>                       |
  27.    |          Zeev Suraski <zeev@zend.com>                                |
  28.    +----------------------------------------------------------------------+
  29.  */
  30. /* $Id: info.h,v 1.13 2000/06/26 14:43:37 kk Exp $ */
  31.  
  32. #ifndef _INFO_H
  33. #define _INFO_H
  34.  
  35. #define PHP_ENTRY_NAME_COLOR "#CCCCFF"
  36. #define PHP_CONTENTS_COLOR "#CCCCCC"
  37. #define PHP_HEADER_COLOR "#9999CC"
  38.  
  39. #define PHP_INFO_GENERAL            (1<<0)
  40. #define PHP_INFO_CREDITS            (1<<1)
  41. #define PHP_INFO_CONFIGURATION        (1<<2)
  42. #define PHP_INFO_MODULES            (1<<3)
  43. #define PHP_INFO_ENVIRONMENT        (1<<4)
  44. #define PHP_INFO_VARIABLES            (1<<5)
  45. #define PHP_INFO_LICENSE            (1<<6)
  46. #define PHP_INFO_ALL                0xFFFFFFFF
  47.  
  48.  
  49. #define PHP_CREDITS_GROUP            (1<<0)
  50. #define PHP_CREDITS_GENERAL            (1<<1)
  51. #define PHP_CREDITS_SAPI            (1<<2)
  52. #define PHP_CREDITS_MODULES            (1<<3)
  53. #define PHP_CREDITS_DOCS            (1<<4)
  54. #define PHP_CREDITS_FULLPAGE        (1<<5)
  55. #define PHP_CREDITS_ALL                0xFFFFFFFF
  56.  
  57. #define PHP_LOGO_GUID        "PHPE9568F34-D428-11d2-A769-00AA001ACF42"
  58. #define PHP_EGG_LOGO_GUID    "PHPE9568F36-D428-11d2-A769-00AA001ACF42"
  59. #define ZEND_LOGO_GUID        "PHPE9568F35-D428-11d2-A769-00AA001ACF42"
  60.  
  61. PHP_FUNCTION(phpversion);
  62. PHP_FUNCTION(phpinfo);
  63. PHP_FUNCTION(phpcredits);
  64. PHP_FUNCTION(php_logo_guid);
  65. PHP_FUNCTION(zend_logo_guid);
  66. PHP_FUNCTION(php_sapi_name);
  67. PHPAPI void php_print_info(int flag);
  68. PHPAPI void php_print_credits(int flag);
  69. PHPAPI void php_print_style(void);
  70. PHPAPI void php_info_print_table_colspan_header(int num_cols, char *header);
  71. PHPAPI void php_info_print_table_header(int num_cols, ...);
  72. PHPAPI void php_info_print_table_row(int num_cols, ...);
  73. PHPAPI void php_info_print_table_start(void);
  74. PHPAPI void php_info_print_table_end(void);
  75. PHPAPI void php_info_print_box_start(int bg);
  76. PHPAPI void php_info_print_box_end(void);
  77. PHPAPI void php_info_print_hr(void);
  78.  
  79. void register_phpinfo_constants(INIT_FUNC_ARGS);
  80.  
  81. #endif /* _INFO_H */
  82.