ENFORCE_SAFE_MODE 243 ext/bz2/bz2.c stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST | ENFORCE_SAFE_MODE, opened_path); ENFORCE_SAFE_MODE 394 ext/bz2/bz2.c ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 853 ext/dba/dba.c info->lock.fp = php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_flag, &opened_path); ENFORCE_SAFE_MODE 868 ext/dba/dba.c info->lock.fp = php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_flag, &opened_path); ENFORCE_SAFE_MODE 906 ext/dba/dba.c info->fp = php_stream_open_wrapper(info->path, file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_flag, NULL); ENFORCE_SAFE_MODE 3859 ext/exif/exif.c ImageInfo->infile = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK|IGNORE_PATH|ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 4184 ext/exif/exif.c stream = php_stream_open_wrapper(Z_STRVAL_PP(arg1), "rb", IGNORE_PATH|ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 910 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 912 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 924 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 971 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 973 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 985 ext/ftp/php_ftp.c outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 1167 ext/ftp/php_ftp.c if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL))) { ENFORCE_SAFE_MODE 1220 ext/ftp/php_ftp.c if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL))) { ENFORCE_SAFE_MODE 1594 ext/gd/gd.c stream = php_stream_open_wrapper(Z_STRVAL_PP(file), "rb", ENFORCE_SAFE_MODE | IGNORE_PATH | IGNORE_URL_WIN | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 2596 ext/gd/gd.c stream = php_stream_open_wrapper(fn, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL); ENFORCE_SAFE_MODE 85 ext/hash/hash.c stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL, DEFAULT_CONTEXT); ENFORCE_SAFE_MODE 160 ext/hash/hash.c stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL, DEFAULT_CONTEXT); ENFORCE_SAFE_MODE 391 ext/hash/hash.c stream = php_stream_open_wrapper_ex(filename, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL, context); ENFORCE_SAFE_MODE 148 ext/hash/hash_md.c stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 134 ext/hash/hash_sha.c stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 1939 ext/imap/php_imap.c writer = php_stream_open_wrapper(Z_STRVAL_PP(out), "wb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 302 ext/libxml/libxml.c wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC); ENFORCE_SAFE_MODE 316 ext/libxml/libxml.c ret_val = php_stream_open_wrapper_ex(path_to_open, (char *)mode, ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL, context); ENFORCE_SAFE_MODE 1068 ext/mime_magic/mime_magic.c stream = php_stream_open_wrapper(Z_STRVAL_P(what), "rb", IGNORE_PATH | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 1457 ext/ming/ming.c stream = php_stream_open_wrapper(Z_STRVAL_PP(zfile), "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 2479 ext/ming/ming.c stream = php_stream_open_wrapper(Z_STRVAL_PP(x), "wb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 931 ext/oci8/oci8_interface.c stream = php_stream_open_wrapper_ex(filename, "w", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, NULL); ENFORCE_SAFE_MODE 190 ext/pdo/pdo_dbh.c stream = php_stream_open_wrapper(uri, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 2469 ext/pgsql/pgsql.c stream = php_stream_open_wrapper(Z_STRVAL_PP(z_filename), mode, ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 151 ext/soap/php_http.c ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 179 ext/soap/php_xml.c return php_stream_open_wrapper((char*)filename, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 225 ext/spl/php_spl.c ret = php_stream_open_for_zend_ex(class_file, &file_handle, ENFORCE_SAFE_MODE|USE_PATH|STREAM_OPEN_FOR_INCLUDE TSRMLS_CC); ENFORCE_SAFE_MODE 178 ext/spl/spl_directory.c intern->u.dir.dirp = php_stream_opendir(path, ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 206 ext/spl/spl_directory.c intern->u.file.stream = php_stream_open_wrapper_ex(intern->file_name, intern->u.file.open_mode, (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, intern->u.file.context); ENFORCE_SAFE_MODE 5043 ext/standard/basic_functions.c stream = php_stream_open_wrapper(opt, "a", IGNORE_URL_WIN | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 218 ext/standard/dir.c dirp = php_stream_opendir(dirname, ENFORCE_SAFE_MODE|REPORT_ERRORS, context); ENFORCE_SAFE_MODE 387 ext/standard/file.c (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 550 ext/standard/file.c (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 615 ext/standard/file.c stream = php_stream_open_wrapper_ex(filename, mode, ((flags & PHP_FILE_USE_INCLUDE_PATH) ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); ENFORCE_SAFE_MODE 744 ext/standard/file.c stream = php_stream_open_wrapper_ex(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); ENFORCE_SAFE_MODE 889 ext/standard/file.c stream = php_stream_open_wrapper_ex(filename, mode, (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); ENFORCE_SAFE_MODE 1487 ext/standard/file.c stream = php_stream_open_wrapper_ex(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); ENFORCE_SAFE_MODE 1609 ext/standard/file.c RETURN_BOOL(wrapper->wops->unlink(wrapper, filename, ENFORCE_SAFE_MODE | REPORT_ERRORS, context TSRMLS_CC)); ENFORCE_SAFE_MODE 1757 ext/standard/file.c return php_copy_file_ex(src, dest, ENFORCE_SAFE_MODE TSRMLS_CC); ENFORCE_SAFE_MODE 1828 ext/standard/file.c deststream = php_stream_open_wrapper(dest, "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); ENFORCE_SAFE_MODE 79 ext/standard/fsock.c stream = php_stream_xport_create(hostname, hostname_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 128 ext/standard/http_fopen_wrapper.c return php_stream_open_wrapper_ex(path, mode, ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); ENFORCE_SAFE_MODE 1292 ext/standard/image.c stream = php_stream_open_wrapper(Z_STRVAL_PP(arg1), "rb", STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 93 ext/standard/md5.c stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 668 ext/standard/proc_open.c ENFORCE_SAFE_MODE|REPORT_ERRORS|STREAM_WILL_CAST, NULL); ENFORCE_SAFE_MODE 82 ext/standard/sha1.c stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 121 ext/standard/streamsfuncs.c stream = php_stream_xport_create(host, host_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 195 ext/standard/streamsfuncs.c stream = php_stream_xport_create(host, host_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 544 ext/tidy/tidy.c if (!(stream = php_stream_open_wrapper(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE, NULL))) { ENFORCE_SAFE_MODE 356 ext/xmlwriter/php_xmlwriter.c ret_val = php_stream_open_wrapper_ex((char *)filename, "wb", ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL, NULL); ENFORCE_SAFE_MODE 178 ext/zip/php_zip.c stream = php_stream_open_wrapper(fullpath, "w+b", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); ENFORCE_SAFE_MODE 306 ext/zlib/zlib.c stream = php_stream_gzopen(NULL, filename, "rb", use_include_path | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, NULL STREAMS_CC TSRMLS_CC); ENFORCE_SAFE_MODE 348 ext/zlib/zlib.c stream = php_stream_gzopen(NULL, filename, mode, use_include_path | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, NULL STREAMS_CC TSRMLS_CC); ENFORCE_SAFE_MODE 377 ext/zlib/zlib.c stream = php_stream_gzopen(NULL, filename, "rb", use_include_path | ENFORCE_SAFE_MODE, NULL, NULL STREAMS_CC TSRMLS_CC); ENFORCE_SAFE_MODE 1047 main/main.c return php_stream_open_wrapper_as_file((char *)filename, "rb", ENFORCE_SAFE_MODE|USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE, opened_path); ENFORCE_SAFE_MODE 1065 main/main.c return php_stream_open_for_zend_ex(filename, handle, ENFORCE_SAFE_MODE|USE_PATH|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE TSRMLS_CC); ENFORCE_SAFE_MODE 1034 main/network.c stream = php_stream_xport_create(res, reslen, ENFORCE_SAFE_MODE | REPORT_ERRORS, ENFORCE_SAFE_MODE 982 main/streams/plain_wrapper.c if ((options & ENFORCE_SAFE_MODE) && PG(safe_mode) && (!php_checkuid(path, mode, CHECKUID_CHECK_MODE_PARAM))) ENFORCE_SAFE_MODE 1020 main/streams/plain_wrapper.c if (options & ENFORCE_SAFE_MODE) { ENFORCE_SAFE_MODE 1617 main/streams/streams.c wrapper = php_stream_locate_url_wrapper(path, NULL, ENFORCE_SAFE_MODE TSRMLS_CC); ENFORCE_SAFE_MODE 1632 main/streams/streams.c wrapper = php_stream_locate_url_wrapper(path, NULL, ENFORCE_SAFE_MODE TSRMLS_CC); ENFORCE_SAFE_MODE 1661 main/streams/streams.c wrapper = php_stream_locate_url_wrapper(path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC); ENFORCE_SAFE_MODE 2033 main/streams/streams.c stream = php_stream_opendir(dirname, ENFORCE_SAFE_MODE | REPORT_ERRORS, context); ENFORCE_SAFE_MODE 76 main/streams/userspace.c REGISTER_LONG_CONSTANT("STREAM_ENFORCE_SAFE_MODE", ENFORCE_SAFE_MODE, CONST_CS|CONST_PERSISTENT);