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

/PHP_5_4/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_4/sapi/apache/
H A Dphp_apache.c498 if (rr->path_info) {
499 add_property_string(return_value,"path_info", rr->path_info, 1);
/PHP_5_4/sapi/apache2filter/
H A Dphp_functions.c134 ADD_STRING(path_info);
/PHP_5_4/sapi/apache2handler/
H A Dphp_functions.c154 ADD_STRING(path_info);
H A Dsapi_apache2.c579 && r->path_info && r->path_info[0]) {
/PHP_5_4/sapi/apache_hooks/
H A Dphp_apache.c317 /* {{{ proto string ApacheRequest::path_info([string new_path_info])
321 apache_request_string_slot(offsetof(request_rec, path_info), INTERNAL_FUNCTION_PARAM_PASSTHRU);
1303 PHP_FALIAS(path_info, apache_request_path_info, NULL)
1873 if (rr->path_info) {
1874 add_property_string(return_value,"path_info", rr->path_info, 1);
/PHP_5_4/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;
1262 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL; local
1264 if (orig_path_info != path_info) {
1269 old = path_info[
[all...]
/PHP_5_4/sapi/continuity/
H A Dcapi.c415 char *path_info = lstFset_get(NSG(t->vars), "path-info"); local
/PHP_5_4/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_4/sapi/cli/
H A Dphp_cli_server.c129 char *path_info; member in struct:php_cli_server_request
662 if (client->request.path_info) {
663 sapi_cli_server_register_variable(track_vars_array, "PATH_INFO", client->request.path_info TSRMLS_CC);
667 spprintf(&tmp, 0, "%s%s", client->request.vpath, client->request.path_info);
1288 req->path_info = NULL;
1311 if (req->path_info) {
1312 pefree(req->path_info, 1);
1405 request->path_info = prev_path;
/PHP_5_4/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_4/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);
1207 char *path_info; local
1210 path_info = script_path_translated + ptlen;
1211 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1213 path_info
[all...]

Completed in 27 milliseconds