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

12

/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_php.c162 return SG(request_info).path_translated;
H A Dfpm_php_trace.c59 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) {
H A Dfpm_main.c771 if (!SG(request_info).path_translated) {
792 path_len = strlen(SG(request_info).path_translated);
795 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
797 memcpy(path, SG(request_info).path_translated, path_len + 1);
801 path = estrndup(SG(request_info).path_translated, path_len);
1002 request_info.path_translated variable, the latter should
1057 * broken stuff and set path_translated to the cgi script location */
1063 SG(request_info).path_translated = NULL;
1249 char *path_translated = NULL; local
1262 path_translated
1279 char *path_translated = NULL; local
[all...]
/PHP_5_5/main/
H A DSAPI.h87 char *path_translated; member in struct:__anon290
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) {
438 /* we have to free SG(request_info).path_translated here because
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 !
[all...]
/PHP_5_5/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_5/sapi/apache/
H A Dmod_php5.c259 zval **path_translated; local
286 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) {
287 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC);
528 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_5/sapi/apache2filter/
H A Dsapi_apache2.c412 SG(request_info).path_translated = safe_strdup(f->r->filename);
453 if (SG(request_info).path_translated) {
454 free(SG(request_info).path_translated);
/PHP_5_5/sapi/apache_hooks/
H A Dmod_php5.c389 zval **path_translated; local
411 && zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_translated)==SUCCESS) {
412 php_register_variable("PATH_TRANSLATED", Z_STRVAL_PP(path_translated), track_vars_array TSRMLS_CC);
580 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_5/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_5/sapi/cgi/
H A Dcgi_main.c834 if (!SG(request_info).path_translated) {
861 path_len = strlen(SG(request_info).path_translated);
864 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
866 memcpy(path, SG(request_info).path_translated, path_len + 1);
870 path = estrndup(SG(request_info).path_translated, path_len);
1090 request_info.path_translated variable, the latter should
1143 * broken stuff and set path_translated to the cgi script location */
1149 SG(request_info).path_translated = NULL;
1298 char *path_translated = NULL; local
1311 path_translated
1328 char *path_translated = NULL; local
[all...]
/PHP_5_5/sapi/continuity/
H A Dcapi.c416 char *path_translated = lstFset_get(NSG(t->vars), "path"); local
424 SG(request_info).path_translated = capi_strdup(path_translated);
435 capi_free(SG(request_info).path_translated);
447 file_handle.filename = SG(request_info).path_translated;
/PHP_5_5/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_5/sapi/litespeed/
H A Dlsapi_main.c333 SG(request_info).path_translated = LSAPI_GetScriptFileName();
353 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC);
357 file_handle.filename = SG(request_info).path_translated;
589 SG(request_info).path_translated = *p;
601 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC);
731 SG(request_info).path_translated = NULL;
/PHP_5_5/sapi/nsapi/
H A Dnsapi.c769 php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS_CC);
805 SG(request_info).path_translated,
977 char *path_translated = pblock_findval("script", pb); local
982 if (!path_translated) {
983 path_translated = pblock_findval("path", rq->vars);
1026 SG(request_info).path_translated = path_translated;
1036 file_handle.filename = SG(request_info).path_translated;
1040 fst = request_stat_path(SG(request_info).path_translated, rq);
1058 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_5/sapi/phttpd/
H A Dphttpd.c190 SG(request_info).path_translated = malloc(MAXPATHLEN);
192 if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, NULL) == NULL) {
208 /* path_translated is the absolute path to the file */
209 SG(request_info).path_translated = strdup(Ns_DStringValue(&ds));
212 SG(request_info).request_uri = SG(request_info).path_translated + strlen(root);
237 free(SG(request_info).path_translated);
252 file_handle.filename = SG(request_info).path_translated;
/PHP_5_5/sapi/pi3web/
H A Dpi3web_sapi.c271 SG(request_info).path_translated = lpCB->lpszPathTranslated;
/PHP_5_5/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_5/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_5/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_5/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_5/ext/opcache/
H A Dzend_accelerator_module.c91 if (!SG(request_info).path_translated ||
92 strlen(SG(request_info).path_translated) < len ||
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) {
/PHP_5_5/sapi/cli/
H A Dphp_cli_server.c129 char *path_translated; member in struct:php_cli_server_request
779 if (SG(request_info).path_translated) {
780 sapi_cli_server_register_variable(track_vars_array, "SCRIPT_FILENAME", SG(request_info).path_translated TSRMLS_CC);
1411 req->path_translated = NULL;
1434 if (req->path_translated) {
1435 pefree(req->path_translated, 1);
1536 request->path_translated = buf;
1542 request->path_translated = buf;
1844 request_info->path_translated = client->request.path_translated;
[all...]

Completed in 36 milliseconds

12