/PHP-5.6/sapi/fpm/fpm/ |
H A D | fpm_request.c | 91 proc->request_uri[0] = '\0'; in fpm_request_reading_headers() 109 char *request_uri = fpm_php_request_uri(TSRMLS_C); in fpm_request_info() local 128 if (request_uri) { in fpm_request_info() 129 strlcpy(proc->request_uri, request_uri, sizeof(proc->request_uri)); in fpm_request_info() 268 …p->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.request_uri, in fpm_request_check_timed_out() 278 …p->config->name, (int) child->pid, purified_script_filename, proc.request_method, proc.request_uri, in fpm_request_check_timed_out()
|
H A D | fpm_status.c | 59 if (!SG(request_info).request_uri) { in fpm_status_handle_request() 64 …ng_uri && fpm_status_ping_response && !strcmp(fpm_status_ping_uri, SG(request_info).request_uri)) { in fpm_status_handle_request() 81 if (fpm_status_uri && !strcmp(fpm_status_uri, SG(request_info).request_uri)) { in fpm_status_handle_request() 448 proc.request_uri[0] != '\0' ? proc.request_uri : "-", in fpm_status_handle_request()
|
H A D | fpm_main.c | 631 char *script_name = SG(request_info).request_uri; in sapi_cgi_register_variables() 653 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : ""; in sapi_cgi_register_variables() 1078 SG(request_info).request_uri = NULL; 1266 SG(request_info).request_uri = orig_script_name; 1360 if (!SG(request_info).request_uri) { 1366 SG(request_info).request_uri = _sapi_cgibin_putenv("SCRIPT_NAME", env_script_name TSRMLS_CC); 1368 SG(request_info).request_uri = orig_script_name; 1400 SG(request_info).request_uri = _sapi_cgibin_putenv("SCRIPT_NAME", env_script_name TSRMLS_CC); 1402 SG(request_info).request_uri = env_script_name; 1409 SG(request_info).request_uri = env_path_info; [all …]
|
H A D | fpm_scoreboard.h | 34 char request_uri[128]; member
|
H A D | fpm_php.c | 168 return (char *) SG(request_info).request_uri; in fpm_php_request_uri()
|
H A D | fpm_log.c | 366 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.request_uri); in fpm_log_write()
|
/PHP-5.6/Zend/ |
H A D | zend_dtrace.d | 24 probe request__startup(char* request_file, char* request_uri, char* request_method); 25 probe request__shutdown(char* request_file, char* request_uri, char* request_method);
|
/PHP-5.6/sapi/tux/ |
H A D | php_tux.c | 201 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 207 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_tux_register_variables() 338 SG(request_info).request_uri = s.c; in tux_request_ctor() 360 free(SG(request_info).request_uri); in tux_request_dtor()
|
/PHP-5.6/sapi/aolserver/ |
H A D | aolserver.c | 354 ADD_STRINGX("REQUEST_URI", SG(request_info).request_uri); in php_ns_sapi_register_variables() 355 ADD_STRINGX("PHP_SELF", SG(request_info).request_uri); in php_ns_sapi_register_variables() 451 SG(request_info).request_uri = strdup(SG(request_info).path_translated + strlen(root)); in php_ns_request_ctor() 485 free(SG(request_info).request_uri); in php_ns_request_dtor()
|
/PHP-5.6/sapi/caudium/ |
H A D | caudium.c | 490 php_register_variable("PHP_SELF", SG(request_info).request_uri, in low_sapi_caudium_register_variables() 497 php_register_variable("REQUEST_URI", SG(request_info).request_uri, in low_sapi_caudium_register_variables() 616 SG(request_info).request_uri = lookup_string_header("DOCUMENT_URI", NULL); in php_caudium_module_main() 617 if(!SG(request_info).request_uri) in php_caudium_module_main() 618 SG(request_info).request_uri = lookup_string_header("SCRIPT_NAME", NULL); in php_caudium_module_main()
|
/PHP-5.6/sapi/cgi/ |
H A D | cgi_main.c | 679 char *script_name = SG(request_info).request_uri; in sapi_cgi_register_variables() 726 php_self = SG(request_info).request_uri ? SG(request_info).request_uri : ""; in sapi_cgi_register_variables() 1164 SG(request_info).request_uri = NULL; 1288 SG(request_info).request_uri = orig_script_name; 1368 if (!SG(request_info).request_uri) { 1374 SG(request_info).request_uri = CGI_PUTENV("SCRIPT_NAME", env_script_name); 1376 SG(request_info).request_uri = orig_script_name; 1406 SG(request_info).request_uri = CGI_PUTENV("SCRIPT_NAME", env_script_name); 1408 SG(request_info).request_uri = env_script_name; 1415 SG(request_info).request_uri = env_path_info; [all …]
|
/PHP-5.6/sapi/nsapi/ |
H A D | nsapi.c | 748 if (SG(request_info).request_uri) { in sapi_nsapi_register_server_variables() 749 pos = strlen(SG(request_info).request_uri); in sapi_nsapi_register_server_variables() 752 spprintf(&value, 0, "%s?%s", SG(request_info).request_uri, SG(request_info).query_string); in sapi_nsapi_register_server_variables() 758 …php_register_variable_safe("REQUEST_URI", SG(request_info).request_uri, pos, track_vars_array TSRM… in sapi_nsapi_register_server_variables() 767 …php_register_variable_safe("SCRIPT_NAME", SG(request_info).request_uri, pos, track_vars_array TSRM… in sapi_nsapi_register_server_variables() 1024 SG(request_info).request_uri = uri; in php5_execute()
|
/PHP-5.6/sapi/cli/tests/ |
H A D | php_cli_server_009.phpt | 5 now could serve correctly with request_uri "index.php" and PATH_INFO "/foo/bar/"
|
/PHP-5.6/sapi/thttpd/ |
H A D | thttpd.c | 277 php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 281 php_register_variable("REQUEST_URI", SG(request_info).request_uri, track_vars_array TSRMLS_CC); in sapi_thttpd_register_variables() 453 SG(request_info).request_uri = s.c; 473 free(SG(request_info).request_uri);
|
/PHP-5.6/sapi/roxen/ |
H A D | roxen.c | 643 SG(request_info).request_uri = lookup_string_header("DOCUMENT_URI", NULL); in f_php_roxen_request_handler() 644 if(!SG(request_info).request_uri) in f_php_roxen_request_handler() 645 SG(request_info).request_uri = lookup_string_header("SCRIPT_NAME", NULL); in f_php_roxen_request_handler()
|
/PHP-5.6/sapi/continuity/ |
H A D | capi.c | 422 SG(request_info).request_uri = capi_strdup(uri); in capi_request_ctor() 433 capi_free(SG(request_info).request_uri); in capi_request_dtor()
|
/PHP-5.6/sapi/cli/ |
H A D | php_cli_server.c | 125 char *request_uri; member 786 …sapi_cli_server_register_variable(track_vars_array, "REQUEST_URI", client->request.request_uri TSR… in sapi_cli_server_register_variables() 1228 spprintf(&basic_buf, 0, "%s [%d]: %s", client->addr_str, status, client->request.request_uri); in php_cli_server_log_response() 1417 req->request_uri = NULL; in php_cli_server_request_ctor() 1438 if (req->request_uri) { in php_cli_server_request_dtor() 1439 pefree(req->request_uri, 1); in php_cli_server_request_dtor() 1679 client->request.request_uri = pestrndup(at, length, 1); in php_cli_server_client_read_request_on_url() 1869 request_info->request_uri = client->request.request_uri; in php_cli_server_client_populate_request_info() 1945 …escaped_request_uri = php_escape_html_entities_ex((unsigned char *)client->request.request_uri, cl… in php_cli_server_send_error_page()
|
/PHP-5.6/sapi/apache2filter/ |
H A D | sapi_apache2.c | 410 SG(request_info).request_uri = safe_strdup(f->r->uri); in php_apache_request_ctor() 447 if (SG(request_info).request_uri) { in php_apache_request_dtor() 448 free(SG(request_info).request_uri); in php_apache_request_dtor()
|
/PHP-5.6/sapi/phttpd/ |
H A D | phttpd.c | 212 SG(request_info).request_uri = SG(request_info).path_translated + strlen(root); in php_phttpd_request_ctor()
|
/PHP-5.6/main/ |
H A D | SAPI.h | 87 char *request_uri; member
|
H A D | fopen_wrappers.c | 367 path_info = SG(request_info).request_uri;
|
/PHP-5.6/sapi/webjames/ |
H A D | webjames.c | 178 SG(request_info).request_uri = WG(conn)->requesturi; in webjames_module_main()
|
/PHP-5.6/sapi/litespeed/ |
H A D | lsapi_main.c | 380 if ( (SG(request_info).request_uri ) ) in sapi_lsapi_register_variables() 381 php_self = (SG(request_info).request_uri ); in sapi_lsapi_register_variables() 585 SG(request_info).request_uri = LSAPI_GetScriptName(); in init_request_info()
|
/PHP-5.6/sapi/pi3web/ |
H A D | pi3web_sapi.c | 272 SG(request_info).request_uri = lpCB->lpszUri; in init_request_info()
|
/PHP-5.6/sapi/apache2handler/ |
H A D | sapi_apache2.c | 481 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor()
|