/PHP-5.4/sapi/phttpd/ |
H A D | phttpd.c | 190 SG(request_info).path_translated = malloc(MAXPATHLEN); in php_phttpd_request_ctor() 192 …if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, N… in php_phttpd_request_ctor() 209 SG(request_info).path_translated = strdup(Ns_DStringValue(&ds)); in php_phttpd_request_ctor() 212 SG(request_info).request_uri = SG(request_info).path_translated + strlen(root); in php_phttpd_request_ctor() 237 free(SG(request_info).path_translated); in php_phttpd_request_dtor() 252 file_handle.filename = SG(request_info).path_translated; in php_doit()
|
/PHP-5.4/sapi/apache/ |
H A D | sapi_apache.c | 43 …if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC) != SUCCESS… in apache_php_module_main() 49 file_handle.filename = SG(request_info).path_translated; in apache_php_module_main()
|
H A D | mod_php5.c | 259 zval **path_translated; in sapi_apache_register_server_variables() local 286 …symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { in sapi_apache_register_server_variables() 287 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables() 528 SG(request_info).path_translated = r->filename; in init_request_info()
|
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 771 if (!SG(request_info).path_translated) { 1063 SG(request_info).path_translated = NULL; 1252 char *path_translated = NULL; local 1275 efree(path_translated); 1282 char *path_translated = NULL; local 1285 memcpy(path_translated, pt, ptlen); 1294 efree(path_translated); 1774 SG(request_info).path_translated = NULL; 1894 if (!SG(request_info).path_translated) { 1963 STR_FREE(SG(request_info).path_translated); [all …]
|
H A D | fpm_php_trace.c | 59 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) { in fpm_php_trace_dump()
|
H A D | fpm_php.c | 162 return SG(request_info).path_translated; in fpm_php_script_filename()
|
/PHP-5.4/main/ |
H A D | fopen_wrappers.c | 403 filename = SG(request_info).path_translated; 426 filename = SG(request_info).path_translated; 435 if (SG(request_info).path_translated != filename) { 442 STR_FREE(SG(request_info).path_translated); 443 SG(request_info).path_translated = NULL; 452 if (SG(request_info).path_translated != filename) { 455 STR_FREE(SG(request_info).path_translated); /* for same reason as above */ 456 SG(request_info).path_translated = NULL; 461 if (SG(request_info).path_translated != filename) { 463 SG(request_info).path_translated = filename; [all …]
|
H A D | SAPI.h | 87 char *path_translated; member
|
H A D | main.c | 1413 …ame, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend() 1458 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend() 1460 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend() 1534 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup() 1844 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
|
H A D | SAPI.c | 1005 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
|
/PHP-5.4/sapi/cgi/ |
H A D | cgi_main.c | 834 if (!SG(request_info).path_translated) { 1150 SG(request_info).path_translated = NULL; 1299 char *path_translated = NULL; local 1322 efree(path_translated); 1329 char *path_translated = NULL; local 1332 memcpy(path_translated, pt, ptlen); 1341 efree(path_translated); 1902 SG(request_info).path_translated = NULL; 2247 STR_FREE(SG(request_info).path_translated); 2256 STR_FREE(SG(request_info).path_translated); [all …]
|
/PHP-5.4/sapi/litespeed/ |
H A D | lsapi_main.c | 173 if ( SG(request_info).path_translated ) in sapi_lsapi_deactivate() 175 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate() 479 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); in init_request_info() 528 fp = fopen( SG(request_info).path_translated, "rb" ); in lsapi_fopen_primary_script() 535 file_handle->filename = SG(request_info).path_translated; in lsapi_fopen_primary_script() 550 file_handle->filename = SG(request_info).path_translated; in lsapi_execute_script() 556 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script() 561 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script() 580 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); in lsapi_module_main() 836 SG(request_info).path_translated = estrdup(*p); in cli_main() [all …]
|
/PHP-5.4/sapi/apache_hooks/ |
H A D | sapi_apache.c | 42 if (highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC)){ in apache_php_module_main() 50 file_handle.filename = SG(request_info).path_translated; in apache_php_module_main()
|
H A D | mod_php5.c | 389 zval **path_translated; in sapi_apache_register_server_variables() local 411 …symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { in sapi_apache_register_server_variables() 412 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables() 580 SG(request_info).path_translated = r->filename; in init_request_info()
|
/PHP-5.4/sapi/isapi/ |
H A D | php5isapi.c | 497 …php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_isapi_register_iis_variables() 758 SG(request_info).path_translated = estrdup(static_variable_buf); in init_request_info() 766 SG(request_info).path_translated = estrdup(humi.lpszPath); in init_request_info() 770 SG(request_info).path_translated = estrdup(lpECB->lpszPathTranslated); in init_request_info() 774 if (strstr(SG(request_info).path_translated,"..")) { in init_request_info() 776 efree(SG(request_info).path_translated); in init_request_info() 777 SG(request_info).path_translated = NULL; in init_request_info() 852 file_handle.filename = SG(request_info).path_translated; in HttpExtensionProc() 871 if (SG(request_info).path_translated) in HttpExtensionProc() 872 efree(SG(request_info).path_translated); in HttpExtensionProc()
|
/PHP-5.4/sapi/nsapi/ |
H A D | nsapi.c | 769 …php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_nsapi_register_server_variables() 805 SG(request_info).path_translated, in sapi_nsapi_get_stat() 977 char *path_translated = pblock_findval("script", pb); in php5_execute() local 982 if (!path_translated) { in php5_execute() 983 path_translated = pblock_findval("path", rq->vars); in php5_execute() 1026 SG(request_info).path_translated = path_translated; in php5_execute() 1036 file_handle.filename = SG(request_info).path_translated; in php5_execute() 1040 fst = request_stat_path(SG(request_info).path_translated, rq); in php5_execute() 1058 …, pb), sn, rq, "Cannot execute PHP script: %s (File not found)", SG(request_info).path_translated); in php5_execute()
|
/PHP-5.4/sapi/continuity/ |
H A D | capi.c | 416 char *path_translated = lstFset_get(NSG(t->vars), "path"); in capi_request_ctor() local 424 SG(request_info).path_translated = capi_strdup(path_translated); in capi_request_ctor() 435 capi_free(SG(request_info).path_translated); in capi_request_dtor() 447 file_handle.filename = SG(request_info).path_translated; in capi_module_main()
|
/PHP-5.4/sapi/tux/ |
H A D | php_tux.c | 208 …php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_tux_register_variables() 301 file_handle.filename = SG(request_info).path_translated; in tux_module_main() 332 SG(request_info).path_translated = s.c; in tux_request_ctor() 361 free(SG(request_info).path_translated); in tux_request_dtor()
|
/PHP-5.4/sapi/aolserver/ |
H A D | aolserver.c | 353 ADD_STRINGX("PATH_TRANSLATED", SG(request_info).path_translated); in php_ns_sapi_register_variables() 410 file_handle.filename = SG(request_info).path_translated; in php_ns_module_main() 448 SG(request_info).path_translated = safe_strdup(Ns_DStringValue(&ds)); in php_ns_request_ctor() 451 SG(request_info).request_uri = strdup(SG(request_info).path_translated + strlen(root)); in php_ns_request_ctor() 482 free(SG(request_info).path_translated); in php_ns_request_dtor()
|
/PHP-5.4/sapi/webjames/ |
H A D | webjames.c | 135 ADD_STRING("PATH_TRANSLATED", SG(request_info).path_translated); in sapi_webjames_register_variables() 175 if (path) SG(request_info).path_translated = estrdup(path); in webjames_module_main() 207 file_handle.filename = SG(request_info).path_translated; in webjames_module_main()
|
/PHP-5.4/sapi/thttpd/ |
H A D | thttpd.c | 282 …php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_thttpd_register_variables() 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.4/sapi/cli/ |
H A D | php_cli_server.c | 127 char *path_translated; member 654 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables() 1286 req->path_translated = NULL; in php_cli_server_request_ctor() 1308 if (req->path_translated) { in php_cli_server_request_dtor() 1309 pefree(req->path_translated, 1); in php_cli_server_request_dtor() 1409 request->path_translated = buf; in php_cli_server_request_translate_vpath() 1415 request->path_translated = buf; in php_cli_server_request_translate_vpath() 1716 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info() 1885 zfd.filename = SG(request_info).path_translated; in php_cli_server_dispatch_script() 1903 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static() [all …]
|
/PHP-5.4/sapi/apache2filter/ |
H A D | sapi_apache2.c | 412 SG(request_info).path_translated = safe_strdup(f->r->filename); in php_apache_request_ctor() 453 if (SG(request_info).path_translated) { in php_apache_request_dtor() 454 free(SG(request_info).path_translated); in php_apache_request_dtor()
|
/PHP-5.4/sapi/caudium/ |
H A D | caudium.c | 499 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, in low_sapi_caudium_register_variables() 614 SG(request_info).path_translated = in php_caudium_module_main()
|
/PHP-5.4/sapi/pi3web/ |
H A D | pi3web_sapi.c | 271 SG(request_info).path_translated = lpCB->lpszPathTranslated; in init_request_info()
|