Home
last modified time | relevance | path

Searched refs:path_translated (Results 1 – 25 of 32) sorted by relevance

12

/PHP-5.5/sapi/phttpd/
H A Dphttpd.c190 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.5/sapi/apache/
H A Dsapi_apache.c43 …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 Dmod_php5.c259 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.5/sapi/fpm/fpm/
H A Dfpm_main.c775 if (!SG(request_info).path_translated) {
1067 SG(request_info).path_translated = NULL;
1267 char *path_translated = NULL; local
1290 efree(path_translated);
1297 char *path_translated = NULL; local
1300 memcpy(path_translated, pt, ptlen);
1309 efree(path_translated);
1789 SG(request_info).path_translated = NULL;
1909 if (!SG(request_info).path_translated) {
1978 STR_FREE(SG(request_info).path_translated);
[all …]
H A Dfpm_php_trace.c59 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) { in fpm_php_trace_dump()
H A Dfpm_php.c162 return SG(request_info).path_translated; in fpm_php_script_filename()
/PHP-5.5/main/
H A Dfopen_wrappers.c403 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 DSAPI.h87 char *path_translated; member
H A Dmain.c1417 …ame, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1462 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1464 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1538 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
1849 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c837 if (!SG(request_info).path_translated) {
1152 SG(request_info).path_translated = NULL;
1301 char *path_translated = NULL; local
1324 efree(path_translated);
1331 char *path_translated = NULL; local
1334 memcpy(path_translated, pt, ptlen);
1343 efree(path_translated);
1906 SG(request_info).path_translated = NULL;
2255 STR_FREE(SG(request_info).path_translated);
2264 STR_FREE(SG(request_info).path_translated);
[all …]
/PHP-5.5/sapi/apache_hooks/
H A Dsapi_apache.c42 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 Dmod_php5.c389 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.5/sapi/litespeed/
H A Dlsapi_main.c173 if ( SG(request_info).path_translated ) in sapi_lsapi_deactivate()
175 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
502 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); in init_request_info()
551 fp = fopen( SG(request_info).path_translated, "rb" ); in lsapi_fopen_primary_script()
558 file_handle->filename = SG(request_info).path_translated; in lsapi_fopen_primary_script()
573 file_handle->filename = SG(request_info).path_translated; in lsapi_execute_script()
579 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
584 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
603 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); in lsapi_module_main()
884 SG(request_info).path_translated = estrdup(*p); in cli_main()
[all …]
/PHP-5.5/sapi/continuity/
H A Dcapi.c416 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.5/sapi/isapi/
H A Dphp5isapi.c497 …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.5/sapi/nsapi/
H A Dnsapi.c769 …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.5/sapi/tux/
H A Dphp_tux.c208 …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.5/sapi/aolserver/
H A Daolserver.c353 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.5/sapi/webjames/
H A Dwebjames.c135 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.5/sapi/thttpd/
H A Dthttpd.c282 …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.5/sapi/cli/
H A Dphp_cli_server.c129 char *path_translated; member
785 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
1417 req->path_translated = NULL; in php_cli_server_request_ctor()
1440 if (req->path_translated) { in php_cli_server_request_dtor()
1441 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1542 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1548 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1854 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2023 zfd.filename = SG(request_info).path_translated; in php_cli_server_dispatch_script()
2041 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static()
[all …]
/PHP-5.5/sapi/apache2filter/
H A Dsapi_apache2.c412 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.5/ext/opcache/
H A Dzend_accelerator_module.c91 if (!SG(request_info).path_translated || in validate_api_restriction()
92 strlen(SG(request_info).path_translated) < len || in validate_api_restriction()
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
/PHP-5.5/sapi/caudium/
H A Dcaudium.c499 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.5/sapi/pi3web/
H A Dpi3web_sapi.c271 SG(request_info).path_translated = lpCB->lpszPathTranslated; in init_request_info()

Completed in 80 milliseconds

12