Searched refs:path_info (Results 1 – 9 of 9) sorted by relevance
/PHP-8.3/main/ |
H A D | fopen_wrappers.c | 362 char *path_info; local 370 path_info = SG(request_info).request_uri; 372 if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) { 373 char *s = strchr(path_info + 2, '/'); 378 length = s - (path_info + 2); 382 memcpy(user, path_info + 2, length); 427 if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) && 429 size_t path_len = strlen(path_info); 435 if (IS_SLASH(path_info[0])) { 438 strncpy(ZSTR_VAL(filename) + length, path_info, path_len + 1);
|
/PHP-8.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 574 unsigned int path_info_len = path_info ? strlen(path_info) : 0; in sapi_cgi_register_variables() 583 if (path_info) { in sapi_cgi_register_variables() 584 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 1145 char *path_info; in init_request_info() local 1148 path_info = script_path_translated + ptlen; in init_request_info() 1152 tflag = path_info && (orig_path_info != path_info); in init_request_info() 1160 old = path_info[0]; in init_request_info() 1161 path_info[0] = 0; in init_request_info() 1171 path_info[0] = old; in init_request_info() 1179 if (strchr(path_info, '%')) { in init_request_info() [all …]
|
/PHP-8.3/ext/phar/tests/ |
H A D | frontcontroller25.phpt | 2 Phar front controller with extra path_info
|
/PHP-8.3/ext/phar/tests/cache_list/ |
H A D | frontcontroller25.phpt | 2 Phar front controller with extra path_info [cache_list]
|
/PHP-8.3/ext/phar/ |
H A D | phar_object.c | 53 char *path_info; in phar_mung_server_vars() local 651 if (path_info) { in PHP_METHOD() 652 entry = path_info; in PHP_METHOD() 654 spprintf(&path_info, 0, "%s%s", testit, path_info); in PHP_METHOD() 657 path_info = testit; in PHP_METHOD() 714 efree(path_info); in PHP_METHOD() 725 efree(path_info); in PHP_METHOD() 761 efree(path_info); in PHP_METHOD() 781 if (path_info[strlen(path_info)-1] == '/') { in PHP_METHOD() 792 efree(path_info); in PHP_METHOD() [all …]
|
/PHP-8.3/sapi/cgi/ |
H A D | cgi_main.c | 700 char *path_info; in sapi_cgi_register_variables() local 707 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables() 709 path_info = getenv("PATH_INFO"); in sapi_cgi_register_variables() 712 if (path_info) { in sapi_cgi_register_variables() 713 size_t path_info_len = strlen(path_info); in sapi_cgi_register_variables() 724 php_self = path_info; in sapi_cgi_register_variables() 1287 if (orig_path_info != path_info) { 1292 old = path_info[0]; 1293 path_info[0] = 0; 1303 path_info[0] = old; [all …]
|
/PHP-8.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 636 && r->path_info && r->path_info[0]) { in php_handler()
|
H A D | php_functions.c | 156 ADD_STRING(path_info); in PHP_FUNCTION()
|
/PHP-8.3/sapi/cli/ |
H A D | php_cli_server.c | 138 char *path_info; member 746 if (client->request.path_info) { in sapi_cli_server_register_variables() 748 "PATH_INFO", strlen("PATH_INFO"), client->request.path_info, client->request.path_info_len); in sapi_cli_server_register_variables() 751 zend_string *tmp = strpprintf(0, "%s%s", client->request.vpath, client->request.path_info); in sapi_cli_server_register_variables() 1401 req->path_info = NULL; in php_cli_server_request_ctor() 1427 if (req->path_info) { in php_cli_server_request_dtor() 1428 pefree(req->path_info, 1); in php_cli_server_request_dtor() 1520 request->path_info = prev_path; in php_cli_server_request_translate_vpath()
|
Completed in 73 milliseconds