/PHP-5.6/sapi/continuity/ |
H A D | capi.c | 243 php_register_variable("PHP_SELF", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 244 php_register_variable("REQUEST_URI", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 250 php_register_variable("COUNTRY_CODE", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 255 php_register_variable("argv", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 263 php_register_variable("HTTP_HOST", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 265 php_register_variable("SERVER_NAME", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 285 php_register_variable("QUERY_STRING", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 290 php_register_variable("DOCUMENT_ROOT", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 295 php_register_variable("HTTP_ACCEPT", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() 320 php_register_variable("HTTP_REFERER", value, track_vars_array TSRMLS_CC); in sapi_capi_register_server_variables() [all …]
|
/PHP-5.6/sapi/isapi/ |
H A D | php5isapi.c | 399 php_register_variable( "SSL_CLIENT_DN", static_cons_buf, track_vars_array TSRMLS_CC ); in sapi_isapi_register_zeus_ssl_variables() 433 php_register_variable( "PHP_SELF", static_variable_buf, track_vars_array TSRMLS_CC ); in sapi_isapi_register_zeus_variables() 445 php_register_variable( "URL", static_variable_buf, track_vars_array TSRMLS_CC ); in sapi_isapi_register_zeus_variables() 509 php_register_variable( "PATH_INFO", path_info_buf, track_vars_array TSRMLS_CC ); in sapi_isapi_register_iis_variables() 517 php_register_variable( "URL", static_variable_buf, track_vars_array TSRMLS_CC ); in sapi_isapi_register_iis_variables() 529 php_register_variable("PATH_TRANSLATED", humi.lpszPath, track_vars_array TSRMLS_CC); in sapi_isapi_register_iis_variables() 541 php_register_variable("DOCUMENT_ROOT", humi.lpszPath, track_vars_array TSRMLS_CC); in sapi_isapi_register_iis_variables() 573 php_register_variable(*p, static_variable_buf, track_vars_array TSRMLS_CC); in sapi_isapi_register_server_variables2() 581 php_register_variable(*p, variable_buf, track_vars_array TSRMLS_CC); in sapi_isapi_register_server_variables2() 589 php_register_variable(*p, "", track_vars_array TSRMLS_CC); in sapi_isapi_register_server_variables2() [all …]
|
/PHP-5.6/sapi/tux/ |
H A D | php_tux.c | 189 php_register_variable(name, buf, track_vars_array TSRMLS_CC) 201 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 202 php_register_variable("SERVER_SOFTWARE", TUXAPI_version, track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 203 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 204 …php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array… in sapi_tux_register_variables() 205 php_register_variable("DOCUMENT_ROOT", TUXAPI_docroot, track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 206 php_register_variable("SERVER_NAME", TUXAPI_servername, track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 207 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 208 …php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_tux_register_variables() 231 php_register_variable(#name, TG(req)->field, track_vars_array TSRMLS_CC); \ in sapi_tux_register_variables() [all …]
|
/PHP-5.6/sapi/nsapi/ |
H A D | nsapi.c | 691 php_register_variable(value, entry->param->value, track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 713 php_register_variable("REMOTE_HOST", value, track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 718 php_register_variable("SERVER_PORT", buf, track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 722 php_register_variable("SERVER_URL", value, track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 725 php_register_variable("SERVER_SOFTWARE", system_version(), track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 727 php_register_variable("HTTPS", "ON", track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 729 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 741 php_register_variable("PATH_TRANSLATED", value, track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 744 php_register_variable("PATH_INFO", rc->path_info, track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() 754 php_register_variable("REQUEST_URI", value, track_vars_array TSRMLS_CC); in sapi_nsapi_register_server_variables() [all …]
|
/PHP-5.6/sapi/thttpd/ |
H A D | thttpd.c | 269 php_register_variable(name, buf, track_vars_array TSRMLS_CC) 277 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 278 php_register_variable("SERVER_SOFTWARE", SERVER_SOFTWARE, track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 279 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 280 …php_register_variable("REQUEST_METHOD", (char *) SG(request_info).request_method, track_vars_array… in sapi_thttpd_register_variables() 281 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 282 …php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_thttpd_register_variables() 285 php_register_variable("SERVER_PROTOCOL", "HTTP/1.1", track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 287 php_register_variable("SERVER_PROTOCOL", "HTTP/1.0", track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 309 php_register_variable(#name, TG(hc)->field, track_vars_array TSRMLS_CC); \ in sapi_thttpd_register_variables() [all …]
|
/PHP-5.6/main/ |
H A D | php_variables.h | 39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC);
|
H A D | php_variables.c | 40 PHPAPI void php_register_variable(char *var, char *strval, zval *track_vars_array TSRMLS_DC) in php_register_variable() function 526 php_register_variable(t, p + 1, array_ptr TSRMLS_CC); in _php_import_environment_variables() 644 php_register_variable("PHP_AUTH_USER", SG(request_info).auth_user, array_ptr TSRMLS_CC); in php_register_server_variables() 647 php_register_variable("PHP_AUTH_PW", SG(request_info).auth_password, array_ptr TSRMLS_CC); in php_register_server_variables() 650 php_register_variable("PHP_AUTH_DIGEST", SG(request_info).auth_digest, array_ptr TSRMLS_CC); in php_register_server_variables()
|
/PHP-5.6/sapi/caudium/ |
H A D | caudium.c | 490 php_register_variable("PHP_SELF", SG(request_info).request_uri, in low_sapi_caudium_register_variables() 492 php_register_variable("GATEWAY_INTERFACE", "CGI/1.1", in low_sapi_caudium_register_variables() 494 php_register_variable("REQUEST_METHOD", in low_sapi_caudium_register_variables() 497 php_register_variable("REQUEST_URI", SG(request_info).request_uri, in low_sapi_caudium_register_variables() 499 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, in low_sapi_caudium_register_variables() 511 php_register_variable(ind->u.string->str, val->u.string->str, in low_sapi_caudium_register_variables()
|
/PHP-5.6/sapi/webjames/ |
H A D | webjames.c | 104 php_register_variable(name, string, track_vars_array TSRMLS_CC) 108 php_register_variable(name, buf, track_vars_array TSRMLS_CC);\ 113 php_register_variable(name, WG(conn)->field, track_vars_array TSRMLS_CC); \
|
/PHP-5.6/sapi/apache_hooks/ |
H A D | sapi_apache.c | 86 …php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_C… in apache_php_module_hook()
|
H A D | mod_php5.c | 400 php_register_variable(elts[i].key, val, track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables() 412 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables() 415 …php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array TSRM… in sapi_apache_register_server_variables()
|
/PHP-5.6/sapi/pi3web/ |
H A D | pi3web_sapi.c | 299 php_register_variable(pKey, static_variable_buf, track_vars_array TSRMLS_CC); in sapi_pi3web_register_variables() 303 php_register_variable(pKey, variable_buf, track_vars_array TSRMLS_CC); in sapi_pi3web_register_variables() 315 php_register_variable("PHP_SELF", static_variable_buf, track_vars_array TSRMLS_CC); in sapi_pi3web_register_variables()
|
/PHP-5.6/sapi/embed/ |
H A D | php_embed.c | 215 php_register_variable("PHP_SELF", "-", NULL TSRMLS_CC); in php_embed_init()
|
/PHP-5.6/sapi/cli/ |
H A D | php_cli.c | 356 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC); in sapi_cli_register_variables() 359 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC); in sapi_cli_register_variables() 364 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array TSRMLS_CC); in sapi_cli_register_variables() 367 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array TSRMLS_CC); in sapi_cli_register_variables() 372 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array TSRMLS_CC); in sapi_cli_register_variables()
|
/PHP-5.6/sapi/phpdbg/ |
H A D | phpdbg.c | 536 php_register_variable("PHP_SELF", PHPDBG_G(exec), in php_sapi_phpdbg_register_vars() 541 php_register_variable("SCRIPT_NAME", PHPDBG_G(exec), in php_sapi_phpdbg_register_vars() 547 php_register_variable("SCRIPT_FILENAME", PHPDBG_G(exec), in php_sapi_phpdbg_register_vars() 552 php_register_variable("PATH_TRANSLATED", PHPDBG_G(exec), in php_sapi_phpdbg_register_vars() 561 php_register_variable("DOCUMENT_ROOT", docroot, track_vars_array TSRMLS_CC); in php_sapi_phpdbg_register_vars()
|
/PHP-5.6/sapi/litespeed/ |
H A D | lsapi_main.c | 407 php_register_variable("PHP_SELF", php_self, track_vars_array TSRMLS_CC); in sapi_lsapi_register_variables() 408 php_register_variable("SCRIPT_NAME", php_self, track_vars_array TSRMLS_CC); in sapi_lsapi_register_variables() 409 php_register_variable("SCRIPT_FILENAME", script_filename, track_vars_array TSRMLS_CC); in sapi_lsapi_register_variables() 410 php_register_variable("PATH_TRANSLATED", script_filename, track_vars_array TSRMLS_CC); in sapi_lsapi_register_variables() 411 php_register_variable("DOCUMENT_ROOT", "", track_vars_array TSRMLS_CC); in sapi_lsapi_register_variables()
|
/PHP-5.6/sapi/apache/ |
H A D | mod_php5.c | 287 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables() 291 …php_register_variable("PHP_SELF", ((request_rec *) SG(server_context))->uri, track_vars_array TSRM… in sapi_apache_register_server_variables()
|
/PHP-5.6/sapi/aolserver/ |
H A D | aolserver.c | 298 php_register_variable(name, buf, track_vars_array TSRMLS_CC)
|
/PHP-5.6/sapi/apache2filter/ |
H A D | sapi_apache2.c | 244 php_register_variable("PHP_SELF", ctx->r->uri, track_vars_array TSRMLS_CC); in php_apache_sapi_register_variables()
|
/PHP-5.6/sapi/milter/ |
H A D | php_milter.c | 873 php_register_variable ("SERVER_SOFTWARE", "Sendmail Milter", track_vars_array TSRMLS_CC); in sapi_milter_register_variables()
|