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

/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c154 ADD_STRING(path_info);
H A Dsapi_apache2.c578 && r->path_info && r->path_info[0]) {
/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
550 char *fname, *path_info, *mime_type = NULL, *entry, *pt; local
[all...]
/PHP_TRUNK/main/
H A Dfopen_wrappers.c362 char *path_info; local
368 path_info = SG(request_info).request_uri;
370 if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) {
371 char *s = strchr(path_info + 2, '/');
387 length = s - (path_info + 2);
391 memcpy(user, path_info + 2, length);
412 if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) &&
414 int path_len = strlen(path_info);
[all...]
/PHP_TRUNK/sapi/apache/
H A Dphp_apache.c498 if (rr->path_info) {
499 add_property_string(return_value,"path_info", rr->path_info);
/PHP_TRUNK/sapi/apache2filter/
H A Dphp_functions.c134 ADD_STRING(path_info);
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c315 /* {{{ proto string ApacheRequest::path_info([string new_path_info])
319 apache_request_string_slot(offsetof(request_rec, path_info), INTERNAL_FUNCTION_PARAM_PASSTHRU);
1301 PHP_FALIAS(path_info, apache_request_path_info, NULL)
1871 if (rr->path_info) {
1872 add_property_string(return_value,"path_info", rr->path_info);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c671 char *path_info; local
678 path_info = FCGI_GETENV(request, "PATH_INFO");
680 path_info = getenv("PATH_INFO");
683 if (path_info) {
684 unsigned int path_info_len = strlen(path_info);
692 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
695 php_self = path_info;
1259 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL; local
1261 if (orig_path_info != path_info) {
1266 old = path_info[
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c132 char *path_info; member in struct:php_cli_server_request
716 if (client->request.path_info) {
717 sapi_cli_server_register_variable(track_vars_array, "PATH_INFO", client->request.path_info TSRMLS_CC);
721 spprintf(&tmp, 0, "%s%s", client->request.vpath, client->request.path_info);
1341 req->path_info = NULL;
1365 if (req->path_info) {
1366 pefree(req->path_info, 1);
1460 request->path_info = prev_path;
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c415 char *path_info = lstFset_get(NSG(t->vars), "path-info"); local
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c622 char *path_info = sapi_cgibin_getenv("PATH_INFO", sizeof("PATH_INFO") - 1 TSRMLS_CC); local
623 unsigned int path_info_len = path_info ? strlen(path_info) : 0;
628 /* Concat script_name and path_info into php_self */
632 if (path_info) {
633 memcpy(php_self + script_name_len, path_info, path_info_len + 1);
1202 char *path_info; local
1205 path_info = script_path_translated + ptlen;
1206 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1208 path_info
[all...]
/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 TSRMLS_CC);
760 if (rc->path_info) {
761 pos -= strlen(rc->path_info);
965 char *path_info; local
983 path_info = pblock_findval("path-info", rq->vars);
991 /* in error the path_info is the uri to the requested page */
992 path_info
[all...]

Completed in 25 milliseconds