| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_php.c | 162 return SG(request_info).path_translated;
|
| H A D | fpm_php_trace.c | 58 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) {
|
| H A D | fpm_main.c | 776 if (!SG(request_info).path_translated) { 797 path_len = strlen(SG(request_info).path_translated); 800 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { 802 memcpy(path, SG(request_info).path_translated, path_len + 1); 806 path = estrndup(SG(request_info).path_translated, path_len); 1008 request_info.path_translated variable, the latter should 1063 * broken stuff and set path_translated to the cgi script location */ 1069 SG(request_info).path_translated = NULL; 1250 char *path_translated = NULL; local 1263 path_translated 1280 char *path_translated = NULL; local [all...] |
| /PHP_5_3/main/ |
| H A D | SAPI.c | 967 if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_stat)) == -1)) {
|
| H A D | SAPI.h | 87 char *path_translated; member in struct:__anon245
|
| H A D | fopen_wrappers.c | 456 filename = SG(request_info).path_translated; 479 filename = SG(request_info).path_translated; 488 if (SG(request_info).path_translated != filename) { 491 /* we have to free SG(request_info).path_translated here because 495 STR_FREE(SG(request_info).path_translated); 496 SG(request_info).path_translated = NULL; 510 if (SG(request_info).path_translated != filename) { 513 STR_FREE(SG(request_info).path_translated); /* for same reason as above */ 514 SG(request_info).path_translated = NULL; 520 if (SG(request_info).path_translated ! [all...] |
| H A D | main.c | 1307 snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%zu bytes), script=%s\n", t->filename, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); 1352 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); 1354 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated));
|
| /PHP_5_3/sapi/aolserver/ |
| H A D | aolserver.c | 353 ADD_STRINGX("PATH_TRANSLATED", SG(request_info).path_translated); 410 file_handle.filename = SG(request_info).path_translated; 447 /* path_translated is the absolute path to the file */ 448 SG(request_info).path_translated = safe_strdup(Ns_DStringValue(&ds)); 451 SG(request_info).request_uri = strdup(SG(request_info).path_translated + strlen(root)); 482 free(SG(request_info).path_translated);
|
| /PHP_5_3/sapi/apache/ |
| H A D | mod_php5.c | 259 zval **path_translated; local 289 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { 290 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); 532 SG(request_info).path_translated = r->filename;
|
| H A D | sapi_apache.c | 43 if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC) != SUCCESS) { 49 file_handle.filename = SG(request_info).path_translated;
|
| /PHP_5_3/sapi/apache2filter/ |
| H A D | sapi_apache2.c | 413 SG(request_info).path_translated = safe_strdup(f->r->filename); 455 if (SG(request_info).path_translated) { 456 free(SG(request_info).path_translated);
|
| /PHP_5_3/sapi/apache_hooks/ |
| H A D | mod_php5.c | 389 zval **path_translated; local 414 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { 415 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); 585 SG(request_info).path_translated = r->filename;
|
| H A D | sapi_apache.c | 42 if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC)){ 50 file_handle.filename = SG(request_info).path_translated;
|
| /PHP_5_3/sapi/caudium/ |
| H A D | caudium.c | 499 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, 611 /* path_translated is apparently the absolute path to the file, not 614 SG(request_info).path_translated =
|
| /PHP_5_3/sapi/cgi/ |
| H A D | cgi_main.c | 799 if (!SG(request_info).path_translated) { 820 path_len = strlen(SG(request_info).path_translated); 823 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { 825 memcpy(path, SG(request_info).path_translated, path_len + 1); 829 path = estrndup(SG(request_info).path_translated, path_len); 1034 request_info.path_translated variable, the latter should 1087 * broken stuff and set path_translated to the cgi script location */ 1093 SG(request_info).path_translated = NULL; 1239 char *path_translated = NULL; local 1252 path_translated 1269 char *path_translated = NULL; local [all...] |
| /PHP_5_3/sapi/continuity/ |
| H A D | capi.c | 417 char *path_translated = lstFset_get(NSG(t->vars), "path"); local 425 SG(request_info).path_translated = capi_strdup(path_translated); 436 capi_free(SG(request_info).path_translated); 448 file_handle.filename = SG(request_info).path_translated;
|
| /PHP_5_3/sapi/isapi/ |
| H A D | php5isapi.c | 497 php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS_CC); 758 SG(request_info).path_translated = estrdup(static_variable_buf); 766 SG(request_info).path_translated = estrdup(humi.lpszPath); 770 SG(request_info).path_translated = estrdup(lpECB->lpszPathTranslated); 774 if (strstr(SG(request_info).path_translated,"..")) { 776 efree(SG(request_info).path_translated); 777 SG(request_info).path_translated = NULL; 852 file_handle.filename = SG(request_info).path_translated; 871 if (SG(request_info).path_translated) 872 efree(SG(request_info).path_translated); [all...] |
| /PHP_5_3/sapi/litespeed/ |
| H A D | lsapi_main.c | 174 if ( SG(request_info).path_translated ) 176 efree( SG(request_info).path_translated ); 416 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); 465 fp = fopen( SG(request_info).path_translated, "rb" ); 472 file_handle->filename = SG(request_info).path_translated; 487 file_handle->filename = SG(request_info).path_translated; 493 len = strlen( SG(request_info).path_translated ); 498 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); 517 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); 761 SG(request_info).path_translated [all...] |
| /PHP_5_3/sapi/nsapi/ |
| H A D | nsapi.c | 773 php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS_CC); 810 SG(request_info).path_translated, 982 char *path_translated = pblock_findval("script", pb); local 987 if (!path_translated) { 988 path_translated = pblock_findval("path", rq->vars); 1031 SG(request_info).path_translated = path_translated; 1041 file_handle.filename = SG(request_info).path_translated; 1045 fst = request_stat_path(SG(request_info).path_translated, rq); 1063 log_error(LOG_WARN, pblock_findval("fn", pb), sn, rq, "Cannot execute PHP script: %s (File not found)", SG(request_info).path_translated); [all...] |
| /PHP_5_3/sapi/phttpd/ |
| H A D | phttpd.c | 195 SG(request_info).path_translated = malloc(MAXPATHLEN); 197 if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, NULL) == NULL) { 213 /* path_translated is the absolute path to the file */ 214 SG(request_info).path_translated = strdup(Ns_DStringValue(&ds)); 217 SG(request_info).request_uri = SG(request_info).path_translated + strlen(root); 242 free(SG(request_info).path_translated); 258 file_handle.filename = SG(request_info).path_translated;
|
| /PHP_5_3/sapi/pi3web/ |
| H A D | pi3web_sapi.c | 271 SG(request_info).path_translated = lpCB->lpszPathTranslated;
|
| /PHP_5_3/sapi/roxen/ |
| H A D | roxen.c | 638 /* path_translated is apparently the absolute path to the file, not 641 SG(request_info).path_translated =
|
| /PHP_5_3/sapi/thttpd/ |
| H A D | thttpd.c | 282 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_CC); 422 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); 425 file_handle.filename = SG(request_info).path_translated; 447 SG(request_info).path_translated = s.c; 474 free(SG(request_info).path_translated);
|
| /PHP_5_3/sapi/tux/ |
| H A D | php_tux.c | 208 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_CC); 301 file_handle.filename = SG(request_info).path_translated; 332 SG(request_info).path_translated = s.c; 361 free(SG(request_info).path_translated);
|
| /PHP_5_3/sapi/webjames/ |
| H A D | webjames.c | 135 ADD_STRING("PATH_TRANSLATED", SG(request_info).path_translated); 175 if (path) SG(request_info).path_translated = estrdup(path); 207 file_handle.filename = SG(request_info).path_translated;
|