Searched refs:TRACK_VARS_SERVER (Results 1 – 13 of 13) sorted by relevance
/PHP-5.5/main/ |
H A D | php_variables.c | 543 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_register_server_variables() 544 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); in php_register_server_variables() 546 PG(http_globals)[TRACK_VARS_SERVER] = array_ptr; in php_register_server_variables() 627 php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in php_hash_environment() 759 php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in php_auto_globals_create_server() 768 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_auto_globals_create_server() 769 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server() 771 PG(http_globals)[TRACK_VARS_SERVER] = server_vars; in php_auto_globals_create_server() 774 check_http_proxy(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server() 775 …zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_SERVER], size… in php_auto_globals_create_server() [all …]
|
H A D | php_globals.h | 44 #define TRACK_VARS_SERVER 3 macro
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | sapi_apache.c | 82 php_register_variable_ex("request", req, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in apache_php_module_hook() 86 …p_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in apache_php_module_hook()
|
/PHP-5.5/sapi/litespeed/ |
H A D | lsapi_main.c | 254 } else if (Z_TYPE(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in litespeed_php_import_environment_variables() 255 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in litespeed_php_import_environment_variables() 256 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables() 259 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_SERVER]); in litespeed_php_import_environment_variables() 273 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in litespeed_php_import_environment_variables() 274 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in litespeed_php_import_environment_variables() 275 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in litespeed_php_import_environment_variables() 276 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables() 279 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in litespeed_php_import_environment_variables()
|
/PHP-5.5/ext/standard/ |
H A D | browscap.c | 500 if (!PG(http_globals)[TRACK_VARS_SERVER] || in PHP_FUNCTION() 501 …zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT", sizeof("HTTP_USER_… in PHP_FUNCTION()
|
H A D | basic_functions.c | 4269 if ((PG(http_globals)[TRACK_VARS_SERVER] || zend_is_auto_global(ZEND_STRL("_SERVER") TSRMLS_CC)) && 4270 …(zend_hash_find(Z_ARRVAL_P((PG(http_globals))[TRACK_VARS_SERVER]), "argv", sizeof("argv"), (void *…
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_main.c | 584 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 585 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 586 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in cgi_php_import_environment_variables() 587 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in cgi_php_import_environment_variables() 590 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in cgi_php_import_environment_variables()
|
/PHP-5.5/sapi/cgi/ |
H A D | cgi_main.c | 639 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 640 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 641 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in cgi_php_import_environment_variables() 642 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in cgi_php_import_environment_variables() 645 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in cgi_php_import_environment_variables()
|
/PHP-5.5/ext/zlib/ |
H A D | zlib.c | 85 …if ((PG(http_globals)[TRACK_VARS_SERVER] || zend_is_auto_global(ZEND_STRL("_SERVER") TSRMLS_CC)) … in php_zlib_output_encoding() 86 …SUCCESS == zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_ACCEPT_ENCODING",… in php_zlib_output_encoding()
|
/PHP-5.5/ext/session/ |
H A D | session.c | 1570 if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] && 1571 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("REQUEST_URI… 1590 PG(http_globals)[TRACK_VARS_SERVER] && 1591 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("HTTP_REFER…
|
/PHP-5.5/ext/filter/ |
H A D | filter.c | 432 PARSE_CASE(PARSE_SERVER, server_array, TRACK_VARS_SERVER) in php_sapi_filter()
|
/PHP-5.5/ext/phar/ |
H A D | phar_object.c | 69 if (!PG(http_globals)[TRACK_VARS_SERVER]) { in phar_mung_server_vars() 73 _SERVER = Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]); in phar_mung_server_vars() 612 if (PG(http_globals)[TRACK_VARS_SERVER]) { in PHP_METHOD() 613 HashTable *_server = Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]); in PHP_METHOD()
|
/PHP-5.5/ext/soap/ |
H A D | soap.c | 2080 …if ((PG(http_globals)[TRACK_VARS_SERVER] || zend_is_auto_global("_SERVER", sizeof("_SERVER") - 1 T… 2081 …zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_USER_AGENT", sizeof("HTTP_USER…
|
Completed in 125 milliseconds