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

12

/PHP_TRUNK/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.c775 if (!SG(request_info).path_translated) {
796 path_len = strlen(SG(request_info).path_translated);
799 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
801 memcpy(path, SG(request_info).path_translated, path_len + 1);
805 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;
1255 char *path_translated = NULL; local
1268 path_translated
1285 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c175 if ( SG(request_info).path_translated )
177 efree( SG(request_info).path_translated );
424 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName());
473 fp = fopen( SG(request_info).path_translated, "rb" );
480 file_handle->filename = SG(request_info).path_translated;
495 file_handle->filename = SG(request_info).path_translated;
501 len = strlen( SG(request_info).path_translated );
506 memccpy( p, SG(request_info).path_translated + len, 0, 46 );
525 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC);
781 SG(request_info).path_translated
[all...]
/PHP_TRUNK/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) {
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...]
H A DSAPI.h86 char *path_translated; member in struct:__anon4
/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/sapi/caudium/
H A Dcaudium.c498 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated,
610 /* path_translated is apparently the absolute path to the file, not
613 SG(request_info).path_translated =
/PHP_TRUNK/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_TRUNK/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_TRUNK/sapi/nsapi/
H A Dnsapi.c768 php_register_variable("SCRIPT_FILENAME", SG(request_info).path_translated, track_vars_array TSRMLS_CC);
804 SG(request_info).path_translated,
976 char *path_translated = pblock_findval("script", pb); local
981 if (!path_translated) {
982 path_translated = pblock_findval("path", rq->vars);
1025 SG(request_info).path_translated = path_translated;
1035 file_handle.filename = SG(request_info).path_translated;
1039 fst = request_stat_path(SG(request_info).path_translated, rq);
1057 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_TRUNK/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_TRUNK/sapi/pi3web/
H A Dpi3web_sapi.c271 SG(request_info).path_translated = lpCB->lpszPathTranslated;
/PHP_TRUNK/sapi/roxen/
H A Droxen.c637 /* path_translated is apparently the absolute path to the file, not
640 SG(request_info).path_translated =
/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c282 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_CC);
423 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC);
426 file_handle.filename = SG(request_info).path_translated;
448 SG(request_info).path_translated = s.c;
475 free(SG(request_info).path_translated);
/PHP_TRUNK/sapi/tux/
H A Dphp_tux.c204 php_register_variable("PATH_TRANSLATED", SG(request_info).path_translated, track_vars_array TSRMLS_CC);
297 file_handle.filename = SG(request_info).path_translated;
328 SG(request_info).path_translated = s.c;
357 free(SG(request_info).path_translated);
/PHP_TRUNK/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_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c410 SG(request_info).path_translated = safe_strdup(f->r->filename);
449 if (SG(request_info).path_translated) {
450 free(SG(request_info).path_translated);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c95 if (!SG(request_info).path_translated ||
96 strlen(SG(request_info).path_translated) < len ||
97 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) {
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c837 if (!SG(request_info).path_translated) {
864 path_len = strlen(SG(request_info).path_translated);
867 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
869 memcpy(path, SG(request_info).path_translated, path_len + 1);
873 path = estrndup(SG(request_info).path_translated, path_len);
1093 request_info.path_translated variable, the latter should
1146 * broken stuff and set path_translated to the cgi script location */
1152 SG(request_info).path_translated = NULL;
1301 char *path_translated = NULL; local
1314 path_translated
1331 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c129 char *path_translated; member in struct:php_cli_server_request
778 if (SG(request_info).path_translated) {
779 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 37 milliseconds

12