Home
last modified time | relevance | path

Searched refs:filename (Results 76 – 100 of 1077) sorted by last modified time

12345678910>>...44

/PHP-5.6/sapi/apache_hooks/
H A Dsapi_apache.c50 file_handle.filename = SG(request_info).path_translated; in apache_php_module_main()
89 file_handle.filename = handler->name; in apache_php_module_hook()
H A DREADME83 filename
H A Dphp_apache.c63 ZEND_ARG_INFO(0, filename)
1299 PHP_FALIAS(filename, apache_request_filename, NULL)
1715 char *filename; in PHP_FUNCTION() local
1724 php_error(E_WARNING, "Unable to include '%s' - URI lookup failed", filename); in PHP_FUNCTION()
1836 char *filename; in PHP_FUNCTION() local
1845 php_error(E_WARNING, "URI lookup failed", filename); in PHP_FUNCTION()
1870 if (rr->filename) { in PHP_FUNCTION()
1871 add_property_string(return_value,"filename", rr->filename, 1); in PHP_FUNCTION()
1914 zval **filename;
1920 convert_to_string_ex(filename);
[all …]
/PHP-5.6/sapi/apache2handler/
H A Dphp_functions.c59 static request_rec *php_apache_lookup_uri(char *filename TSRMLS_DC) in php_apache_lookup_uri()
63 if (!filename || !ctx || !ctx->r) { in php_apache_lookup_uri()
67 return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters); in php_apache_lookup_uri()
74 char *filename; in PHP_FUNCTION() local
78 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) { in PHP_FUNCTION()
82 if (!(rr = php_apache_lookup_uri(filename TSRMLS_CC))) { in PHP_FUNCTION()
121 char *filename; in PHP_FUNCTION() local
124 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) { in PHP_FUNCTION()
128 if (!(rr = php_apache_lookup_uri(filename TSRMLS_CC))) { in PHP_FUNCTION()
153 ADD_STRING(filename); in PHP_FUNCTION()
[all …]
H A Dsapi_apache2.c332 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, msg, r->filename); in php_apache_sapi_log_message_ex()
482 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
657 highlight_file((char *)r->filename, &syntax_highlighter_ini TSRMLS_CC); in php_handler()
662 zfd.filename = (char *) r->filename; in php_handler()
/PHP-5.6/sapi/caudium/
H A Dcaudium.c97 struct pike_string *filename; member
574 THIS->filename = ureq->filename; in php_caudium_module_main()
643 file_handle.filename = THIS->filename->str; in php_caudium_module_main()
719 THIS->filename = script; in f_php_caudium_request_handler()
747 if(THIS->filename) free_string(THIS->filename); in free_struct()
/PHP-5.6/sapi/cgi/
H A Dcgi_main.c2326 file_handle.filename = SG(request_info).path_translated;
2329 file_handle.filename = "-";
2477 zend_printf("No syntax errors detected in %s\n", file_handle.filename);
2479 zend_printf("Errors parsing %s\n", file_handle.filename);
H A Dconfig9.m442 dnl Set filename
/PHP-5.6/
H A Drun-tests.php1028 function save_text($filename, $text, $filename_copy = null) argument
1032 if ($filename_copy && $filename_copy != $filename) {
1038 if (file_put_contents($filename, $text, FILE_BINARY) === false) {
1039 error("Cannot open file '" . $filename . "' (save_text)");
1043 FILE $filename {{{
H A Dphp.ini-development175 ;user_ini.filename = ".user.ini"
178 ;user_ini.filename =
1044 ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1965 ; that should not be accelerated. The file format is to add each filename
1966 ; to a new line. The filename may be a full path or just a file prefix
H A Dphp.ini-production175 ;user_ini.filename = ".user.ini"
178 ;user_ini.filename =
1044 ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1965 ; that should not be accelerated. The file format is to add each filename
1966 ; to a new line. The filename may be a full path or just a file prefix
/PHP-5.6/sapi/aolserver/
H A Daolserver.c410 file_handle.filename = SG(request_info).path_translated; in php_ns_module_main()
/PHP-5.6/sapi/apache/
H A Dmod_php5.c40 static int send_php(request_rec *r, int display_source_mode, char *filename);
528 SG(request_info).path_translated = r->filename; in init_request_info()
596 static int send_php(request_rec *r, int display_source_mode, char *filename) in send_php() argument
605 fh.filename = r->filename; in send_php()
619 if (filename == NULL && r->finfo.st_mode == 0) { in send_php()
638 if (filename == NULL) { in send_php()
639 filename = r->filename; in send_php()
H A Dphp_apache.c68 ZEND_ARG_INFO(0, filename)
349 char *filename; in PHP_FUNCTION() local
357 if (!(rr = sub_req_lookup_uri (filename, ((request_rec *) SG(server_context))))) { in PHP_FUNCTION()
461 char *filename; in PHP_FUNCTION() local
469 if (!(rr = sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) { in PHP_FUNCTION()
470 php_error_docref(NULL TSRMLS_CC, E_WARNING, "URI lookup failed '%s'", filename); in PHP_FUNCTION()
495 if (rr->filename) { in PHP_FUNCTION()
496 add_property_string(return_value,"filename", rr->filename, 1); in PHP_FUNCTION()
539 char *filename;
547 if(!(rr = ap_sub_req_lookup_uri(filename, ((request_rec *) SG(server_context))))) {
[all …]
H A Dsapi_apache.c49 file_handle.filename = SG(request_info).path_translated; in apache_php_module_main()
/PHP-5.6/sapi/apache2filter/
H A Dphp_functions.c46 static request_rec *php_apache_lookup_uri(char *filename TSRMLS_DC) in php_apache_lookup_uri()
50 if (!filename) { in php_apache_lookup_uri()
55 return ap_sub_req_lookup_uri(filename, ctx->f->r, ctx->f->next); in php_apache_lookup_uri()
62 char *filename; in PHP_FUNCTION() local
66 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) { in PHP_FUNCTION()
70 if (!(rr = php_apache_lookup_uri(filename TSRMLS_CC))) { in PHP_FUNCTION()
101 char *filename; in PHP_FUNCTION() local
104 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &filename, &filename_len) == FAILURE) { in PHP_FUNCTION()
108 if (!(rr = php_apache_lookup_uri(filename TSRMLS_CC))) { in PHP_FUNCTION()
133 ADD_STRING(filename); in PHP_FUNCTION()
[all …]
H A Dsapi_apache2.c411 SG(request_info).path_translated = safe_strdup(f->r->filename); in php_apache_request_ctor()
544 zfd.filename = f->r->filename; in php_output_filter()
/PHP-5.6/main/streams/
H A Duserspace.c48 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const cha…
55 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const ch…
335 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const cha… in user_wrapper_opener() argument
347 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opener()
351 FG(user_stream_current_filename) = filename; in user_wrapper_opener()
377 ZVAL_STRING(zfilename, filename, 1); in user_wrapper_opener()
446 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const ch… in user_wrapper_opendir() argument
457 …if (FG(user_stream_current_filename) != NULL && strcmp(filename, FG(user_stream_current_filename))… in user_wrapper_opendir()
461 FG(user_stream_current_filename) = filename; in user_wrapper_opendir()
475 ZVAL_STRING(zfilename, filename, 1); in user_wrapper_opendir()
H A Dphp_stream_plain_wrapper.h30 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, in…
31 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 … argument
33 PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *…
34 #define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument
H A Dplain_wrapper.c947 realpath = estrdup(filename); in _php_stream_fopen()
949 if ((realpath = expand_filepath(filename, NULL TSRMLS_CC)) == NULL) { in _php_stream_fopen()
1411 if(!filename) { in _php_stream_fopen_with_path()
1415 filename_length = strlen(filename); in _php_stream_fopen_with_path()
1418 if (*filename == '.' && (IS_SLASH(filename[1]) || filename[1] == '.')) { in _php_stream_fopen_with_path()
1420 ptr = filename + 1; in _php_stream_fopen_with_path()
1433 return php_stream_fopen_rel(filename, mode, opened_path, options); in _php_stream_fopen_with_path()
1439 if (IS_ABSOLUTE_PATH(filename, filename_length)) { in _php_stream_fopen_with_path()
1445 return php_stream_fopen_rel(filename, mode, opened_path, options); in _php_stream_fopen_with_path()
1449 if (IS_SLASH(filename[0])) { in _php_stream_fopen_with_path()
[all …]
/PHP-5.6/main/
H A Drfc1867.c197 VCWD_UNLINK(*filename); in unlink_filename()
833 if (filename) {
834 efree(filename);
841 efree(filename);
854 if (!filename && param) {
931 if (!param && !filename) {
980 event_file_start.filename = &filename;
984 efree(filename);
991 efree(filename);
1147 s = filename;
[all …]
H A Drfc1867.h49 char **filename; member
H A Dphp_streams.h66 #define php_stream_fopen_rel(filename, mode, opened, options) _php_stream_fopen((filename), (mode),… argument
68 …define php_stream_fopen_with_path_rel(filename, mode, path, opened, options) _php_stream_fopen_wit… argument
134 php_stream *(*stream_opener)(php_stream_wrapper *wrapper, const char *filename, const char *mode,
143 php_stream *(*dir_opener)(php_stream_wrapper *wrapper, const char *filename, const char *mode,
H A Dmain.c1424 handle->filename = (char*)filename; in php_stream_open_for_zend_ex()
2538 if(primary_file->filename) { in php_execute_script()
2539 UpdateIniFromRegistry(primary_file->filename TSRMLS_CC); in php_execute_script()
2552 VCWD_CHDIR_FILE(primary_file->filename); in php_execute_script()
2558 if (primary_file->filename && in php_execute_script()
2559 (primary_file->filename[0] != '-' || primary_file->filename[1] != 0) && in php_execute_script()
2574 prepend_file.filename = PG(auto_prepend_file); in php_execute_script()
2584 append_file.filename = PG(auto_append_file); in php_execute_script()
2646 if(primary_file->filename) { in php_execute_simple_script()
2647 UpdateIniFromRegistry(primary_file->filename TSRMLS_CC); in php_execute_simple_script()
[all …]
H A Dphp_ini.c360 char *filename = *((char **) arg); in php_load_zend_extension_cb() local
361 int length = strlen(filename); in php_load_zend_extension_cb()
363 if (IS_ABSOLUTE_PATH(filename, length)) { in php_load_zend_extension_cb()
364 zend_load_extension(filename); in php_load_zend_extension_cb()
371 spprintf(&libpath, 0, "%s%s", extension_dir, filename); in php_load_zend_extension_cb()
573 fh.filename = php_ini_opened_path; in php_init_config()
581 fh.filename = php_ini_opened_path; in php_init_config()
601 Z_STRLEN(tmp) = strlen(fh.filename); in php_init_config()
602 Z_STRVAL(tmp) = zend_strndup(fh.filename, Z_STRLEN(tmp)); in php_init_config()
672 fh2.filename = ini_file; in php_init_config()
[all …]

Completed in 138 milliseconds

12345678910>>...44