Searched refs:http_globals (Results 1 – 15 of 15) sorted by relevance
/PHP-5.3/main/ |
H A D | php_variables.c | 241 if (PG(http_globals)[TRACK_VARS_COOKIE] && in php_register_variable_ex() 328 if (PG(http_globals)[TRACK_VARS_GET]) { in SAPI_TREAT_DATA_FUNC() local 597 if (PG(http_globals)[TRACK_VARS_SERVER]) { in php_register_server_variables() local 704 PG(http_globals)[i] = NULL; in php_hash_environment() local 773 if (!PG(http_globals)[i]) { in php_hash_environment() 774 ALLOC_ZVAL(PG(http_globals)[i]); in php_hash_environment() 775 array_init(PG(http_globals)[i]); in php_hash_environment() 776 INIT_PZVAL(PG(http_globals)[i]); in php_hash_environment() 779 Z_ADDREF_P(PG(http_globals)[i]); in php_hash_environment() 783 Z_ADDREF_P(PG(http_globals)[i]); in php_hash_environment() [all …]
|
H A D | php_globals.h | 121 zval *http_globals[6]; member
|
H A D | main.c | 1572 if (PG(http_globals)[i]) { in php_request_shutdown_for_hook() local 1573 zval_ptr_dtor(&PG(http_globals)[i]); in php_request_shutdown_for_hook() 1652 if (PG(http_globals)[i]) { in php_request_shutdown() local 1653 zval_ptr_dtor(&PG(http_globals)[i]); in php_request_shutdown()
|
H A D | rfc1867.c | 843 PG(http_globals)[TRACK_VARS_FILES] = http_post_files; local
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | sapi_apache.c | 86 php_register_variable_ex("request", req, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in apache_php_module_hook() 90 …php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_C… in apache_php_module_hook()
|
/PHP-5.3/ext/mbstring/ |
H A D | mb_gpc.c | 81 PG(http_globals)[TRACK_VARS_POST] = array_ptr; in ZEND_EXTERN_MODULE_GLOBALS() local 84 PG(http_globals)[TRACK_VARS_GET] = array_ptr; in ZEND_EXTERN_MODULE_GLOBALS() local 87 PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr; in ZEND_EXTERN_MODULE_GLOBALS() local
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 571 if (PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables() 572 array_ptr != PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables() 573 Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY && in cgi_php_import_environment_variables() 574 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0 in cgi_php_import_environment_variables() 577 *array_ptr = *PG(http_globals)[TRACK_VARS_ENV]; in cgi_php_import_environment_variables() 581 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 582 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 583 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in cgi_php_import_environment_variables() 584 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in cgi_php_import_environment_variables() 587 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in cgi_php_import_environment_variables() [all …]
|
/PHP-5.3/sapi/cgi/ |
H A D | cgi_main.c | 593 if (PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables() 594 array_ptr != PG(http_globals)[TRACK_VARS_ENV] && in cgi_php_import_environment_variables() 595 Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY && in cgi_php_import_environment_variables() 596 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0 in cgi_php_import_environment_variables() 599 *array_ptr = *PG(http_globals)[TRACK_VARS_ENV]; in cgi_php_import_environment_variables() 603 } else if (PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 604 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && in cgi_php_import_environment_variables() 605 Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && in cgi_php_import_environment_variables() 606 zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0 in cgi_php_import_environment_variables() 609 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; in cgi_php_import_environment_variables() [all …]
|
/PHP-5.3/ext/zlib/ |
H A D | zlib.c | 1006 if (!PG(http_globals)[TRACK_VARS_SERVER] in PHP_FUNCTION() 1007 …|| zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_ACCEPT_ENCODING", sizeof("H… in PHP_FUNCTION() 1115 if (!PG(http_globals)[TRACK_VARS_SERVER] in php_enable_output_compression() 1116 …|| zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_ACCEPT_ENCODING", sizeof("H… in php_enable_output_compression()
|
/PHP-5.3/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 | 4268 if (PG(http_globals)[TRACK_VARS_SERVER] && 4269 …(zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"), (void **) &a… 6167 …zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRMLS_CC, (apply_func… 6173 …zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSRMLS_CC, (apply_fun… 6174 …zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_FILES]) TSRMLS_CC, (apply_fu… 6180 …zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) TSRMLS_CC, (apply_f…
|
/PHP-5.3/ext/filter/ |
H A D | filter.c | 424 orig_array_ptr = PG(http_globals)[t]; \ in php_sapi_filter() 564 array_ptr = IF_G(env_array) ? IF_G(env_array) : PG(http_globals)[TRACK_VARS_ENV]; in php_filter_get_storage()
|
/PHP-5.3/ext/session/ |
H A D | session.c | 1447 if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] && 1448 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("REQUEST_URI… 1467 PG(http_globals)[TRACK_VARS_SERVER] && 1468 …zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("HTTP_REFER…
|
/PHP-5.3/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() 609 if (PG(http_globals)[TRACK_VARS_SERVER]) { local 610 HashTable *_server = Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]);
|
/PHP-5.3/ext/soap/ |
H A D | soap.c | 2233 if (PG(http_globals)[TRACK_VARS_SERVER] && 2234 …zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_USER_AGENT", sizeof("HTTP_USER…
|
Completed in 113 milliseconds