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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c604 char *path_info = FCGI_GETENV(request, "PATH_INFO"); local
605 unsigned int path_info_len = path_info ? strlen(path_info) : 0;
610 /* Concat script_name and path_info into php_self */
614 if (path_info) {
615 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
1182 char *path_info; local
1185 path_info = script_path_translated + ptlen;
1186 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1188 path_info
[all...]
/PHP_TRUNK/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);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c128 char *path_info; member in struct:php_cli_server_request
665 if (client->request.path_info) {
666 sapi_cli_server_register_variable(track_vars_array, "PATH_INFO", client->request.path_info);
670 spprintf(&tmp, 0, "%s%s", client->request.vpath, client->request.path_info);
1309 req->path_info = NULL;
1333 if (req->path_info) {
1334 pefree(req->path_info, 1);
1428 request->path_info = prev_path;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c653 char *path_info; local
660 path_info = FCGI_GETENV(request, "PATH_INFO");
662 path_info = getenv("PATH_INFO");
665 if (path_info) {
666 size_t path_info_len = strlen(path_info);
674 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
677 php_self = path_info;
1245 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL; local
1247 if (orig_path_info != path_info) {
1252 old = path_info[
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar_object.c63 char *path_info; local
77 path_info = Z_STRVAL_P(stuff);
79 if (code > entry_len && !memcmp(path_info, entry, entry_len)) {
81 ZVAL_STRINGL(stuff, path_info + entry_len, request_uri_len);
101 path_info = Z_STRVAL_P(stuff);
103 if (code > basename_len && !memcmp(path_info, basename, basename_len)) {
105 ZVAL_STRINGL(stuff, path_info + basename_len, code - basename_len);
113 path_info = Z_STRVAL_P(stuff);
116 if (code > basename_len && !memcmp(path_info, basename, basename_len)) {
118 ZVAL_STRINGL(stuff, path_info
551 char *fname, *path_info, *mime_type = NULL, *entry, *pt; local
[all...]

Completed in 15 milliseconds