Searched refs:path_info (Results 1 – 9 of 9) sorted by relevance
/php-src/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-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 572 unsigned int path_info_len = path_info ? strlen(path_info) : 0; in sapi_cgi_register_variables() 581 if (path_info) { in sapi_cgi_register_variables() 582 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables() 1143 char *path_info; in init_request_info() local 1146 path_info = script_path_translated + ptlen; in init_request_info() 1150 tflag = path_info && (orig_path_info != path_info); in init_request_info() 1158 old = path_info[0]; in init_request_info() 1159 path_info[0] = 0; in init_request_info() 1169 path_info[0] = old; in init_request_info() 1177 if (strchr(path_info, '%')) { in init_request_info() [all …]
|
/php-src/ext/phar/tests/ |
H A D | frontcontroller25.phpt | 2 Phar front controller with extra path_info
|
/php-src/ext/phar/tests/cache_list/ |
H A D | frontcontroller25.phpt | 2 Phar front controller with extra path_info [cache_list]
|
/php-src/ext/phar/ |
H A D | phar_object.c | 61 char *path_info; in phar_mung_server_vars() local 659 if (path_info) { in PHP_METHOD() 660 entry = path_info; in PHP_METHOD() 662 spprintf(&path_info, 0, "%s%s", testit, path_info); in PHP_METHOD() 665 path_info = testit; in PHP_METHOD() 722 efree(path_info); in PHP_METHOD() 733 efree(path_info); in PHP_METHOD() 769 efree(path_info); in PHP_METHOD() 789 if (path_info[strlen(path_info)-1] == '/') { in PHP_METHOD() 800 efree(path_info); in PHP_METHOD() [all …]
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 703 char *path_info; in sapi_cgi_register_variables() local 710 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables() 712 path_info = getenv("PATH_INFO"); in sapi_cgi_register_variables() 715 if (path_info) { in sapi_cgi_register_variables() 716 size_t path_info_len = strlen(path_info); in sapi_cgi_register_variables() 727 php_self = path_info; in sapi_cgi_register_variables() 1290 if (orig_path_info != path_info) { 1295 old = path_info[0]; 1296 path_info[0] = 0; 1306 path_info[0] = old; [all …]
|
/php-src/sapi/apache2handler/ |
H A D | sapi_apache2.c | 632 && r->path_info && r->path_info[0]) { in php_handler()
|
H A D | php_functions.c | 152 ADD_STRING(path_info); in PHP_FUNCTION()
|
/php-src/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() 1512 request->path_info = prev_path; in php_cli_server_request_translate_vpath()
|
Completed in 37 milliseconds