Home
last modified time | relevance | path

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

12

/PHP-5.3/sapi/phttpd/
H A Dphttpd.c195 SG(request_info).path_translated = malloc(MAXPATHLEN); in php_phttpd_request_ctor()
197 …if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, N… in php_phttpd_request_ctor()
214 SG(request_info).path_translated = strdup(Ns_DStringValue(&ds)); in php_phttpd_request_ctor()
217 SG(request_info).request_uri = SG(request_info).path_translated + strlen(root); in php_phttpd_request_ctor()
242 free(SG(request_info).path_translated); in php_phttpd_request_dtor()
258 file_handle.filename = SG(request_info).path_translated; in php_doit()
/PHP-5.3/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
289 …symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { in sapi_apache_register_server_variables()
290 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables()
532 SG(request_info).path_translated = r->filename; in init_request_info()
/PHP-5.3/sapi/cgi/
H A Dcgi_main.c799 if (!SG(request_info).path_translated) {
1093 SG(request_info).path_translated = NULL;
1239 char *path_translated = NULL; local
1262 efree(path_translated);
1269 char *path_translated = NULL; local
1272 memcpy(path_translated, pt, ptlen);
1281 efree(path_translated);
1637 SG(request_info).path_translated = NULL;
1983 STR_FREE(SG(request_info).path_translated);
1992 STR_FREE(SG(request_info).path_translated);
[all …]
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_main.c776 if (!SG(request_info).path_translated) {
1069 SG(request_info).path_translated = NULL;
1250 char *path_translated = NULL; local
1273 efree(path_translated);
1280 char *path_translated = NULL; local
1283 memcpy(path_translated, pt, ptlen);
1292 efree(path_translated);
1769 SG(request_info).path_translated = NULL;
1885 if (!SG(request_info).path_translated) {
1954 STR_FREE(SG(request_info).path_translated);
[all …]
H A Dfpm_php_trace.c58 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.3/main/
H A Dfopen_wrappers.c456 filename = SG(request_info).path_translated;
479 filename = SG(request_info).path_translated;
488 if (SG(request_info).path_translated != filename) {
495 STR_FREE(SG(request_info).path_translated);
496 SG(request_info).path_translated = NULL;
510 if (SG(request_info).path_translated != filename) {
514 SG(request_info).path_translated = NULL;
520 if (SG(request_info).path_translated != filename) {
522 SG(request_info).path_translated = filename;
525 file_handle->filename = SG(request_info).path_translated;
[all …]
H A DSAPI.h87 char *path_translated; member
H A DSAPI.c967 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
/PHP-5.3/sapi/litespeed/
H A Dlsapi_main.c174 if ( SG(request_info).path_translated ) in sapi_lsapi_deactivate()
176 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
416 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); in init_request_info()
465 fp = fopen( SG(request_info).path_translated, "rb" ); in lsapi_fopen_primary_script()
472 file_handle->filename = SG(request_info).path_translated; in lsapi_fopen_primary_script()
487 file_handle->filename = SG(request_info).path_translated; in lsapi_execute_script()
493 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
498 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
517 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); in lsapi_module_main()
761 SG(request_info).path_translated = estrdup(*p); in cli_main()
[all …]
/PHP-5.3/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
414 …symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) { in sapi_apache_register_server_variables()
415 …php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC); in sapi_apache_register_server_variables()
585 SG(request_info).path_translated = r->filename; in init_request_info()
/PHP-5.3/sapi/continuity/
H A Dcapi.c417 char *path_translated = lstFset_get(NSG(t->vars), "path"); in capi_request_ctor() local
425 SG(request_info).path_translated = capi_strdup(path_translated); in capi_request_ctor()
436 capi_free(SG(request_info).path_translated); in capi_request_dtor()
448 file_handle.filename = SG(request_info).path_translated; in capi_module_main()
/PHP-5.3/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.3/sapi/nsapi/
H A Dnsapi.c773 …php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS… in sapi_nsapi_register_server_variables()
810 SG(request_info).path_translated, in sapi_nsapi_get_stat()
982 char *path_translated = pblock_findval("script", pb); in php5_execute() local
987 if (!path_translated) { in php5_execute()
988 path_translated = pblock_findval("path", rq->vars); in php5_execute()
1031 SG(request_info).path_translated = path_translated; in php5_execute()
1041 file_handle.filename = SG(request_info).path_translated; in php5_execute()
1045 fst = request_stat_path(SG(request_info).path_translated, rq); in php5_execute()
1063 …, pb), sn, rq, "Cannot execute PHP script: %s (File not found)", SG(request_info).path_translated); in php5_execute()
/PHP-5.3/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.3/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.3/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.3/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.3/sapi/apache2filter/
H A Dsapi_apache2.c413 SG(request_info).path_translated = safe_strdup(f->r->filename); in php_apache_request_ctor()
455 if (SG(request_info).path_translated) { in php_apache_request_dtor()
456 free(SG(request_info).path_translated); in php_apache_request_dtor()
/PHP-5.3/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.3/sapi/pi3web/
H A Dpi3web_sapi.c271 SG(request_info).path_translated = lpCB->lpszPathTranslated; in init_request_info()
/PHP-5.3/sapi/roxen/
H A Droxen.c641 SG(request_info).path_translated = in f_php_roxen_request_handler()
/PHP-5.3/sapi/apache2handler/
H A Dsapi_apache2.c483 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()

Completed in 120 milliseconds

12