Home
last modified time | relevance | path

Searched refs:http_globals (Results 1 – 16 of 16) sorted by relevance

/PHP-5.4/main/
H A Dphp_variables.c304 if (PG(http_globals)[TRACK_VARS_GET]) { in SAPI_TREAT_DATA_FUNC() local
560 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_register_server_variables() local
641 memset(PG(http_globals), 0, sizeof(PG(http_globals))); in php_hash_environment()
656 vars = PG(http_globals)[TRACK_VARS_GET]; in php_auto_globals_create_get()
661 if (PG(http_globals)[TRACK_VARS_GET]) { in php_auto_globals_create_get() local
664 PG(http_globals)[TRACK_VARS_GET] = vars; in php_auto_globals_create_get() local
683 vars = PG(http_globals)[TRACK_VARS_POST]; in php_auto_globals_create_post()
688 if (PG(http_globals)[TRACK_VARS_POST]) { in php_auto_globals_create_post() local
691 PG(http_globals)[TRACK_VARS_POST] = vars; in php_auto_globals_create_post() local
727 if (PG(http_globals)[TRACK_VARS_FILES]) { in php_auto_globals_create_files() local
[all …]
H A Dphp_globals.h111 zval *http_globals[6]; member
H A Dmain.c1695 if (PG(http_globals)[i]) { in php_request_shutdown_for_hook() local
1696 zval_ptr_dtor(&PG(http_globals)[i]); in php_request_shutdown_for_hook()
1791 if (PG(http_globals)[i]) { in php_request_shutdown() local
1792 zval_ptr_dtor(&PG(http_globals)[i]); in php_request_shutdown()
H A Drfc1867.c768 PG(http_globals)[TRACK_VARS_FILES] = http_post_files; local
/PHP-5.4/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 …php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_C… in apache_php_module_hook()
/PHP-5.4/sapi/litespeed/
H A Dlsapi_main.c203 int filter_arg = (arg == PG(http_globals)[TRACK_VARS_ENV])?PARSE_ENV:PARSE_SERVER; in add_variable()
241 if (PG(http_globals)[TRACK_VARS_ENV] && in litespeed_php_import_environment_variables()
242 array_ptr != PG(http_globals)[TRACK_VARS_ENV] && in litespeed_php_import_environment_variables()
243 Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY && in litespeed_php_import_environment_variables()
244 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0 in litespeed_php_import_environment_variables()
247 *array_ptr = *PG(http_globals)[TRACK_VARS_ENV]; in litespeed_php_import_environment_variables()
251 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in litespeed_php_import_environment_variables()
252 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in litespeed_php_import_environment_variables()
253 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in litespeed_php_import_environment_variables()
254 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in litespeed_php_import_environment_variables()
[all …]
/PHP-5.4/ext/mbstring/
H A Dmb_gpc.c82 PG(http_globals)[TRACK_VARS_POST] = array_ptr; in ZEND_EXTERN_MODULE_GLOBALS() local
85 PG(http_globals)[TRACK_VARS_GET] = array_ptr; in ZEND_EXTERN_MODULE_GLOBALS() local
88 PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr; in ZEND_EXTERN_MODULE_GLOBALS() local
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_main.c574 if (PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables()
575 array_ptr != PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables()
576 Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY && in cgi_php_import_environment_variables()
577 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0 in cgi_php_import_environment_variables()
580 *array_ptr = *PG(http_globals)[TRACK_VARS_ENV]; in cgi_php_import_environment_variables()
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()
[all …]
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c619 int filter_arg = (array_ptr == PG(http_globals)[TRACK_VARS_ENV])?PARSE_ENV:PARSE_SERVER; in cgi_php_load_env_var()
629 if (PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables()
630 array_ptr != PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables()
631 Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY && in cgi_php_import_environment_variables()
632 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0 in cgi_php_import_environment_variables()
635 *array_ptr = *PG(http_globals)[TRACK_VARS_ENV]; in cgi_php_import_environment_variables()
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()
[all …]
/PHP-5.4/ext/standard/
H A Dbrowscap.c500 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 Dbasic_functions.c4207 if (PG(http_globals)[TRACK_VARS_SERVER] &&
4208 …(zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"), (void **) &a…
/PHP-5.4/ext/session/
H A Dsession.c1465 if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] &&
1466 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("REQUEST_URI…
1485 PG(http_globals)[TRACK_VARS_SERVER] &&
1486 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("HTTP_REFER…
2380 if (!PG(http_globals)[where]) {
2384 …if (zend_hash_find(Z_ARRVAL_P(PG(http_globals)[where]), PS(session_name), progress->sname_len+1, (…
/PHP-5.4/ext/filter/
H A Dfilter.c423 orig_array_ptr = PG(http_globals)[t]; \ in php_sapi_filter()
549 array_ptr = IF_G(env_array) ? IF_G(env_array) : PG(http_globals)[TRACK_VARS_ENV]; in php_filter_get_storage()
/PHP-5.4/ext/zlib/
H A Dzlib.c74 …if (PG(http_globals)[TRACK_VARS_SERVER] && SUCCESS == zend_hash_find(Z_ARRVAL_P(PG(http_globals)[T… in php_zlib_output_encoding()
/PHP-5.4/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()
612 if (PG(http_globals)[TRACK_VARS_SERVER]) { local
613 HashTable *_server = Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]);
/PHP-5.4/ext/soap/
H A Dsoap.c2075 if (PG(http_globals)[TRACK_VARS_SERVER] &&
2076 …zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_USER_AGENT", sizeof("HTTP_USER…

Completed in 73 milliseconds