Searched refs:path_info (Results 1 – 9 of 9) sorted by relevance
/PHP-8.1/main/ |
H A D | fopen_wrappers.c | 350 char *path_info; local 358 path_info = SG(request_info).request_uri; 360 if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) { 361 char *s = strchr(path_info + 2, '/'); 377 length = s - (path_info + 2); 381 memcpy(user, path_info + 2, length); 403 if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) && 405 size_t path_len = strlen(path_info); 411 if (IS_SLASH(path_info[0])) { 414 strncpy(ZSTR_VAL(filename) + length, path_info, path_len + 1);
|
/PHP-8.1/sapi/fpm/fpm/ |
H A D | fpm_main.c | 559 unsigned int path_info_len = path_info ? strlen(path_info) : 0; in sapi_cgi_register_variables() 568 if (path_info) { in sapi_cgi_register_variables() 569 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 1128 char *path_info; in init_request_info() local 1131 path_info = script_path_translated + ptlen; in init_request_info() 1135 tflag = path_info && (orig_path_info != path_info); in init_request_info() 1143 old = path_info[0]; in init_request_info() 1144 path_info[0] = 0; in init_request_info() 1154 path_info[0] = old; in init_request_info() 1162 if (strchr(path_info, '%')) { in init_request_info() [all …]
|
/PHP-8.1/ext/phar/tests/ |
H A D | frontcontroller25.phpt | 2 Phar front controller with extra path_info
|
/PHP-8.1/ext/phar/tests/cache_list/ |
H A D | frontcontroller25.phpt | 2 Phar front controller with extra path_info [cache_list]
|
/PHP-8.1/ext/phar/ |
H A D | phar_object.c | 53 char *path_info; in phar_mung_server_vars() local 641 if (path_info) { in PHP_METHOD() 642 entry = path_info; in PHP_METHOD() 644 spprintf(&path_info, 0, "%s%s", testit, path_info); in PHP_METHOD() 647 path_info = testit; in PHP_METHOD() 704 efree(path_info); in PHP_METHOD() 715 efree(path_info); in PHP_METHOD() 751 efree(path_info); in PHP_METHOD() 771 if (path_info[strlen(path_info)-1] == '/') { in PHP_METHOD() 782 efree(path_info); in PHP_METHOD() [all …]
|
/PHP-8.1/sapi/cgi/ |
H A D | cgi_main.c | 699 char *path_info; in sapi_cgi_register_variables() local 706 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables() 708 path_info = getenv("PATH_INFO"); in sapi_cgi_register_variables() 711 if (path_info) { in sapi_cgi_register_variables() 712 size_t path_info_len = strlen(path_info); in sapi_cgi_register_variables() 723 php_self = path_info; in sapi_cgi_register_variables() 1289 if (orig_path_info != path_info) { 1294 old = path_info[0]; 1295 path_info[0] = 0; 1305 path_info[0] = old; [all …]
|
/PHP-8.1/sapi/apache2handler/ |
H A D | sapi_apache2.c | 625 && 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.1/sapi/cli/ |
H A D | php_cli_server.c | 128 char *path_info; member 702 if (client->request.path_info) { in sapi_cli_server_register_variables() 703 sapi_cli_server_register_variable(track_vars_array, "PATH_INFO", client->request.path_info); in sapi_cli_server_register_variables() 707 spprintf(&tmp, 0, "%s%s", client->request.vpath, client->request.path_info); in sapi_cli_server_register_variables() 1353 req->path_info = NULL; in php_cli_server_request_ctor() 1379 if (req->path_info) { in php_cli_server_request_dtor() 1380 pefree(req->path_info, 1); in php_cli_server_request_dtor() 1470 request->path_info = prev_path; in php_cli_server_request_translate_vpath()
|
Completed in 74 milliseconds