Searched refs:request_info (Results 26 – 42 of 42) sorted by relevance
12
/PHP-5.5/main/ |
H A D | main.c | 1209 if (SG(request_info).current_user) { in php_get_current_user() 1260 SG(request_info).current_user = estrndup(pwd->pw_name, SG(request_info).current_user_length); in php_get_current_user() 1538 …P(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (c… in php_request_startup() 1849 …N(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (c… in php_request_shutdown() 2090 SG(request_info).headers_only = 0; in php_module_startup() 2091 SG(request_info).argv0 = NULL; in php_module_startup() 2092 SG(request_info).argc=0; in php_module_startup() 2093 SG(request_info).argv=(char **)NULL; in php_module_startup() 2611 SG(request_info).auth_user = user; in php_handle_auth_data() 2621 SG(request_info).auth_user = SG(request_info).auth_password = NULL; in php_handle_auth_data() [all …]
|
H A D | SAPI.h | 120 sapi_request_info request_info; member
|
H A D | rfc1867.c | 709 if (SG(post_max_size) > 0 && SG(request_info).content_length > SG(post_max_size)) { 710 …"POST Content-Length of %ld bytes exceeds the limit of %ld bytes", SG(request_info).content_length… 775 event_start.content_length = SG(request_info).content_length;
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | sapi_apache.c | 42 if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC)){ in apache_php_module_main() 50 file_handle.filename = SG(request_info).path_translated; in apache_php_module_main()
|
H A D | mod_php5.c | 491 SG(request_info).headers_only = r->header_only; in php_apache_sapi_activate() 579 SG(request_info).query_string = r->args; in init_request_info() 580 SG(request_info).path_translated = r->filename; in init_request_info() 581 SG(request_info).request_uri = r->uri; in init_request_info() 582 SG(request_info).request_method = (char *)r->method; in init_request_info() 583 SG(request_info).proto_num = r->proto_num; in init_request_info() 592 SG(request_info).auth_user = NULL; in init_request_info() 593 SG(request_info).auth_password = NULL; in init_request_info() 602 SG(request_info).auth_user = estrdup(tmp_user); in init_request_info() 605 SG(request_info).auth_password = estrdup(tmp); in init_request_info() [all …]
|
/PHP-5.5/sapi/cli/ |
H A D | php_cli_server.c | 654 if (client == NULL || SG(request_info).no_headers) { in sapi_cli_server_send_headers() 785 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables() 1856 request_info->post_data = client->request.content; in php_cli_server_client_populate_request_info() 1857 request_info->content_length = request_info->post_data_length = client->request.content_len; in php_cli_server_client_populate_request_info() 1858 request_info->auth_user = request_info->auth_password = request_info->auth_digest = NULL; in php_cli_server_client_populate_request_info() 1860 request_info->content_type = *val; in php_cli_server_client_populate_request_info() 2023 zfd.filename = SG(request_info).path_translated; in php_cli_server_dispatch_script() 2103 destroy_request_info(&SG(request_info)); in php_cli_server_request_startup() 2115 destroy_request_info(&SG(request_info)); in php_cli_server_request_shutdown() 2174 destroy_request_info(&SG(request_info)); in php_cli_server_dispatch() [all …]
|
H A D | php_cli.c | 382 if(SG(request_info).argv0) { in sapi_cli_deactivate() 383 free(SG(request_info).argv0); in sapi_cli_deactivate() 384 SG(request_info).argv0 = NULL; in sapi_cli_deactivate() 958 SG(request_info).argc=argc-php_optind+1; in do_cli() 961 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename; in do_cli() 963 SG(request_info).argv=argv+php_optind-1; in do_cli()
|
/PHP-5.5/ext/standard/ |
H A D | php_fopen_wrapper.c | 78 if (SG(request_info).raw_post_data) { /* data has already been read by a post handler */ in php_stream_input_read() 79 read_bytes = SG(request_info).raw_post_data_length - *position; in php_stream_input_read() 86 memcpy(buf, SG(request_info).raw_post_data + *position, read_bytes); in php_stream_input_read()
|
H A D | head.c | 68 if (sapi_send_headers(TSRMLS_C)==FAILURE || SG(request_info).headers_only) { in php_header()
|
/PHP-5.5/ext/mbstring/ |
H A D | mb_gpc.c | 103 c_var = SG(request_info).query_string; in ZEND_EXTERN_MODULE_GLOBALS() 111 c_var = SG(request_info).cookie_data; in ZEND_EXTERN_MODULE_GLOBALS() 379 detected = _php_mb_encoding_handler_ex(&info, arg, SG(request_info).post_data TSRMLS_CC); in SAPI_POST_HANDLER_FUNC()
|
/PHP-5.5/sapi/milter/ |
H A D | php_milter.c | 121 SG(request_info).no_headers = 1; in ZEND_DECLARE_MODULE_GLOBALS() 129 SG(request_info).no_headers = 1; in ZEND_DECLARE_MODULE_GLOBALS() 187 SG(request_info).no_headers = 1; in mlfi_connect() 195 SG(request_info).no_headers = 1; in mlfi_connect() 1115 SG(request_info).no_headers = 1; in main() 1136 SG(request_info).no_headers = 1; in main()
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 59 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) { in fpm_php_trace_dump()
|
/PHP-5.5/ext/opcache/ |
H A D | zend_accelerator_module.c | 91 if (!SG(request_info).path_translated || in validate_api_restriction() 92 strlen(SG(request_info).path_translated) < len || in validate_api_restriction() 93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
|
H A D | ZendAccelerator.c | 731 file_handle->filename == SG(request_info).path_translated) { in zend_get_file_handle_timestamp() 1484 file_handle->filename == SG(request_info).path_translated && 1906 filename == SG(request_info).path_translated) || 1971 filename == SG(request_info).path_translated) ||
|
/PHP-5.5/ext/soap/ |
H A D | soap.c | 1519 if (SG(request_info).request_method && 1520 strcmp(SG(request_info).request_method, "GET") == 0 && 1521 SG(request_info).query_string && 1522 stricmp(SG(request_info).query_string, "wsdl") == 0) { 1574 if (SG(request_info).raw_post_data) { 1575 char *post_data = SG(request_info).raw_post_data; 1576 int post_data_length = SG(request_info).raw_post_data_length;
|
/PHP-5.5/ext/phar/ |
H A D | phar_object.c | 592 … (!(SG(request_info).request_method && SG(request_info).request_uri && (!strcmp(SG(request_info).r… in PHP_METHOD() 665 path_info = SG(request_info).request_uri; in PHP_METHOD()
|
/PHP-5.5/ext/session/ |
H A D | session.c | 1181 path = SG(request_info).path_translated;
|
Completed in 123 milliseconds
12