Searched refs:path_translated (Results 1 - 25 of 28) sorted by relevance

12

/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_php.c162 return SG(request_info).path_translated;
H A Dfpm_php_trace.c58 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) {
H A Dfpm_main.c776 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 DSAPI.c967 if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_stat)) == -1)) {
H A DSAPI.h87 char *path_translated; member in struct:__anon245
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) {
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 Dmain.c1307 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 Daolserver.c353 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 Dmod_php5.c259 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 Dsapi_apache.c43 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 Dsapi_apache2.c413 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 Dmod_php5.c389 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 Dsapi_apache.c42 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 Dcaudium.c499 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/continuity/
H A Dcapi.c417 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 Dphp5isapi.c497 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/nsapi/
H A Dnsapi.c773 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 Dphttpd.c195 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 Dpi3web_sapi.c271 SG(request_info).path_translated = lpCB->lpszPathTranslated;
/PHP_5_3/sapi/roxen/
H A Droxen.c638 /* path_translated is apparently the absolute path to the file, not
641 SG(request_info).path_translated =
/PHP_5_3/sapi/thttpd/
H A Dthttpd.c282 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 Dphp_tux.c208 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 Dwebjames.c135 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;
/PHP_5_3/sapi/cgi/
H A Dcgi_main.c799 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/litespeed/
H A Dlsapi_main.c174 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...]

Completed in 38 milliseconds

12