Home
last modified time | relevance | path

Searched refs:path_info (Results 1 – 9 of 9) sorted by relevance

/PHP-7.1/main/
H A Dfopen_wrappers.c357 char *path_info; local
363 path_info = SG(request_info).request_uri;
365 if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) {
366 char *s = strchr(path_info + 2, '/');
382 length = s - (path_info + 2);
386 memcpy(user, path_info + 2, length);
407 if (PG(doc_root) && path_info && (length = (int)strlen(PG(doc_root))) &&
409 int path_len = (int)strlen(path_info);
416 if (IS_SLASH(path_info[0])) {
419 strncpy(filename + length, path_info, path_len + 1);
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_main.c604 char *path_info = sapi_cgibin_getenv("PATH_INFO", sizeof("PATH_INFO") - 1); in sapi_cgi_register_variables() local
605 unsigned int path_info_len = path_info ? strlen(path_info) : 0; in sapi_cgi_register_variables()
614 if (path_info) { in sapi_cgi_register_variables()
615 memcpy(php_self + script_name_len, path_info, path_info_len + 1); in sapi_cgi_register_variables()
1206 char *path_info; local
1209 path_info = script_path_translated + ptlen;
1213 tflag = path_info && (orig_path_info != path_info);
1221 old = path_info[0];
1222 path_info[0] = 0;
1232 path_info[0] = old;
[all …]
/PHP-7.1/ext/phar/tests/
H A Dfrontcontroller25.phpt2 Phar front controller with extra path_info
/PHP-7.1/ext/phar/tests/cache_list/
H A Dfrontcontroller25.phpt2 Phar front controller with extra path_info [cache_list]
/PHP-7.1/ext/phar/
H A Dphar_object.c54 char *path_info; in phar_mung_server_vars() local
642 if (path_info) { in PHP_METHOD()
643 entry = path_info; in PHP_METHOD()
645 spprintf(&path_info, 0, "%s%s", testit, path_info); in PHP_METHOD()
684 efree(path_info); in PHP_METHOD()
702 efree(path_info); in PHP_METHOD()
711 efree(path_info); in PHP_METHOD()
733 efree(path_info); in PHP_METHOD()
775 efree(path_info); in PHP_METHOD()
795 if (path_info[strlen(path_info)-1] == '/') { in PHP_METHOD()
[all …]
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c711 char *path_info; in sapi_cgi_register_variables() local
718 path_info = FCGI_GETENV(request, "PATH_INFO"); in sapi_cgi_register_variables()
720 path_info = getenv("PATH_INFO"); in sapi_cgi_register_variables()
723 if (path_info) { in sapi_cgi_register_variables()
724 size_t path_info_len = strlen(path_info); in sapi_cgi_register_variables()
735 php_self = path_info; in sapi_cgi_register_variables()
1303 if (orig_path_info != path_info) {
1308 old = path_info[0];
1309 path_info[0] = 0;
1319 path_info[0] = old;
[all …]
/PHP-7.1/sapi/cli/
H A Dphp_cli_server.c129 char *path_info; member
680 if (client->request.path_info) { in sapi_cli_server_register_variables()
681 sapi_cli_server_register_variable(track_vars_array, "PATH_INFO", client->request.path_info); in sapi_cli_server_register_variables()
685 spprintf(&tmp, 0, "%s%s", client->request.vpath, client->request.path_info); in sapi_cli_server_register_variables()
1332 req->path_info = NULL; in php_cli_server_request_ctor()
1356 if (req->path_info) { in php_cli_server_request_dtor()
1357 pefree(req->path_info, 1); in php_cli_server_request_dtor()
1451 request->path_info = prev_path; in php_cli_server_request_translate_vpath()
/PHP-7.1/sapi/apache2handler/
H A Dsapi_apache2.c624 && r->path_info && r->path_info[0]) { in php_handler()
H A Dphp_functions.c154 ADD_STRING(path_info); in PHP_FUNCTION()

Completed in 67 milliseconds