Home
last modified time | relevance | path

Searched refs:TRACK_VARS_SERVER (Results 1 – 13 of 13) sorted by relevance

/PHP-5.6/sapi/apache_hooks/
H A Dsapi_apache.c82 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.6/main/
H A Dphp_variables.c632 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_register_server_variables()
633 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); in php_register_server_variables()
635 PG(http_globals)[TRACK_VARS_SERVER] = array_ptr; in php_register_server_variables()
716 php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in php_hash_environment()
847 php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in php_auto_globals_create_server()
856 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_auto_globals_create_server()
857 zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
859 PG(http_globals)[TRACK_VARS_SERVER] = server_vars; in php_auto_globals_create_server()
862 check_http_proxy(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])); in php_auto_globals_create_server()
863 …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 Dphp_globals.h44 #define TRACK_VARS_SERVER 3 macro
/PHP-5.6/sapi/litespeed/
H A Dlsapi_main.c295 } else if (Z_TYPE(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in litespeed_php_import_environment_variables()
296 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) && in litespeed_php_import_environment_variables()
297 zend_hash_num_elements(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables()
300 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_SERVER]); in litespeed_php_import_environment_variables()
314 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in litespeed_php_import_environment_variables()
315 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in litespeed_php_import_environment_variables()
316 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in litespeed_php_import_environment_variables()
317 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables()
320 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in litespeed_php_import_environment_variables()
/PHP-5.6/ext/standard/
H A Dbrowscap.c504 if (!PG(http_globals)[TRACK_VARS_SERVER] || in PHP_FUNCTION()
505 …zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT", sizeof("HTTP_USER_… in PHP_FUNCTION()
H A Dbasic_functions.c4243 if ((PG(http_globals)[TRACK_VARS_SERVER] || zend_is_auto_global(ZEND_STRL("_SERVER") TSRMLS_CC)) &&
4244 …(zend_hash_find(Z_ARRVAL_P((PG(http_globals))[TRACK_VARS_SERVER]), "argv", sizeof("argv"), (void *…
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_main.c589 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables()
590 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables()
591 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in cgi_php_import_environment_variables()
592 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in cgi_php_import_environment_variables()
595 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in cgi_php_import_environment_variables()
/PHP-5.6/sapi/cgi/
H A Dcgi_main.c647 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables()
648 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables()
649 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in cgi_php_import_environment_variables()
650 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in cgi_php_import_environment_variables()
653 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in cgi_php_import_environment_variables()
/PHP-5.6/ext/zlib/
H A Dzlib.c85 …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.6/ext/session/
H A Dsession.c1582 if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] &&
1583 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("REQUEST_URI…
1602 PG(http_globals)[TRACK_VARS_SERVER] &&
1603 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("HTTP_REFER…
/PHP-5.6/ext/filter/
H A Dfilter.c439 PARSE_CASE(PARSE_SERVER, server_array, TRACK_VARS_SERVER) in php_sapi_filter()
/PHP-5.6/ext/phar/
H A Dphar_object.c69 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()
610 if (PG(http_globals)[TRACK_VARS_SERVER]) { in PHP_METHOD()
611 HashTable *_server = Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]); in PHP_METHOD()
/PHP-5.6/ext/soap/
H A Dsoap.c2100 …if ((PG(http_globals)[TRACK_VARS_SERVER] || zend_is_auto_global("_SERVER", sizeof("_SERVER") - 1 T…
2101 …zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_USER_AGENT", sizeof("HTTP_USER…

Completed in 71 milliseconds