Searched refs:path_info (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c154 ADD_STRING(path_info);
H A Dsapi_apache2.c591 && r->path_info && r->path_info[0]) {
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c98 char *path_info; member in struct:nsapi_request_context
738 if (rc->path_info) {
739 if (value = request_translate_uri(rc->path_info, rc->sn)) {
743 php_register_variable("PATH_INFO", rc->path_info, track_vars_array);
760 if (rc->path_info) {
761 pos -= strlen(rc->path_info);
965 char *path_info; local
982 path_info = pblock_findval("path-info", rq->vars);
990 /* in error the path_info is the uri to the requested page */
991 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...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.c367 char *path_info; local
373 path_info = SG(request_info).request_uri;
375 if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) {
376 char *s = strchr(path_info + 2, '/');
392 length = s - (path_info + 2);
396 memcpy(user, path_info + 2, length);
417 if (PG(doc_root) && path_info && (length = (int)strlen(PG(doc_root))) &&
419 int path_len = (int)strlen(path_info);
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c639 char *path_info; local
646 path_info = FCGI_GETENV(request, "PATH_INFO");
648 path_info = getenv("PATH_INFO");
651 if (path_info) {
652 size_t path_info_len = strlen(path_info);
660 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
663 php_self = path_info;
1230 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL; local
1232 if (orig_path_info != path_info) {
1237 old = path_info[
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c132 char *path_info; member in struct:php_cli_server_request
669 if (client->request.path_info) {
670 sapi_cli_server_register_variable(track_vars_array, "PATH_INFO", client->request.path_info);
674 spprintf(&tmp, 0, "%s%s", client->request.vpath, client->request.path_info);
1313 req->path_info = NULL;
1337 if (req->path_info) {
1338 pefree(req->path_info, 1);
1432 request->path_info = prev_path;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c573 char *path_info = sapi_cgibin_getenv("PATH_INFO", sizeof("PATH_INFO") - 1); local
574 unsigned int path_info_len = path_info ? strlen(path_info) : 0;
579 /* Concat script_name and path_info into php_self */
583 if (path_info) {
584 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
1145 char *path_info; local
1148 path_info = script_path_translated + ptlen;
1149 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1151 path_info
[all...]

Completed in 23 milliseconds