Searched defs:path_info (Results 1 - 7 of 7) sorted by relevance

/PHP_5_5/main/
H A Dfopen_wrappers.c361 char *path_info; local
367 path_info = SG(request_info).request_uri;
369 if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) {
370 char *s = strchr(path_info + 2, '/');
386 length = s - (path_info + 2);
390 memcpy(user, path_info + 2, length);
411 if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) &&
413 int path_len = strlen(path_info);
[all...]
/PHP_5_5/sapi/cgi/
H A Dcgi_main.c672 char *path_info; local
679 path_info = FCGI_GETENV(request, "PATH_INFO");
681 path_info = getenv("PATH_INFO");
684 if (path_info) {
685 unsigned int path_info_len = strlen(path_info);
693 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
696 php_self = path_info;
1261 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL; local
1263 if (orig_path_info != path_info) {
1268 old = path_info[
[all...]
/PHP_5_5/sapi/continuity/
H A Dcapi.c415 char *path_info = lstFset_get(NSG(t->vars), "path-info"); local
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_main.c628 char *path_info = sapi_cgibin_getenv("PATH_INFO", sizeof("PATH_INFO") - 1 TSRMLS_CC); local
629 unsigned int path_info_len = path_info ? strlen(path_info) : 0;
634 /* Concat script_name and path_info into php_self */
638 if (path_info) {
639 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
1204 char *path_info; local
1207 path_info = script_path_translated + ptlen;
1208 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1210 path_info
[all...]
/PHP_5_5/sapi/nsapi/
H A Dnsapi.c98 char *path_info; member in struct:nsapi_request_context
739 if (rc->path_info) {
740 if (value = request_translate_uri(rc->path_info, rc->sn)) {
744 php_register_variable("PATH_INFO", rc->path_info, track_vars_array TSRMLS_CC);
761 if (rc->path_info) {
762 pos -= strlen(rc->path_info);
966 char *path_info; local
984 path_info = pblock_findval("path-info", rq->vars);
992 /* in error the path_info is the uri to the requested page */
993 path_info
[all...]
/PHP_5_5/ext/phar/
H A Dphar_object.c63 char *path_info; local
77 path_info = Z_STRVAL_PP(stuff);
84 ZVAL_STRINGL(temp, path_info, code, 0);
91 path_info = Z_STRVAL_PP(stuff);
96 ZVAL_STRINGL(temp, path_info, code, 0);
107 path_info = Z_STRVAL_PP(stuff);
114 ZVAL_STRINGL(temp, path_info, code, 0);
123 path_info = Z_STRVAL_PP(stuff);
130 ZVAL_STRINGL(temp, path_info, code, 0);
139 path_info
569 char *fname, *path_info, *mime_type = NULL, *entry, *pt; local
[all...]
/PHP_5_5/sapi/cli/
H A Dphp_cli_server.c131 char *path_info; member in struct:php_cli_server_request
788 if (client->request.path_info) {
789 sapi_cli_server_register_variable(track_vars_array, "PATH_INFO", client->request.path_info TSRMLS_CC);
793 spprintf(&tmp, 0, "%s%s", client->request.vpath, client->request.path_info);
1414 req->path_info = NULL;
1438 if (req->path_info) {
1439 pefree(req->path_info, 1);
1533 request->path_info = prev_path;

Completed in 18 milliseconds