Home
last modified time | relevance | path

Searched refs:ENFORCE_SAFE_MODE (Results 1 – 25 of 44) sorted by relevance

12

/PHP-5.3/ext/standard/
H A Dfsock.c79 stream = php_stream_xport_create(hostname, hostname_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, in php_fsockopen_stream()
H A Dfile.c395 (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, in PHP_FUNCTION()
559 (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, in PHP_FUNCTION()
631 …ename, mode, ((flags & PHP_FILE_USE_INCLUDE_PATH) ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
771 …open_wrapper_ex(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
929 …open_wrapper_ex(filename, mode, (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_NAMED_FUNCTION()
1485 …open_wrapper_ex(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
1618 …RETURN_BOOL(wrapper->wops->unlink(wrapper, filename, ENFORCE_SAFE_MODE | REPORT_ERRORS, context TS… in PHP_FUNCTION()
1771 return php_copy_file_ctx(src, dest, ENFORCE_SAFE_MODE, NULL TSRMLS_CC); in php_copy_file()
1779 return php_copy_file_ctx(src, dest, ENFORCE_SAFE_MODE, NULL TSRMLS_CC); in php_copy_file_ex()
1862 …deststream = php_stream_open_wrapper_ex(dest, "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, conte… in php_copy_file_ctx()
H A Ddir.c224 dirp = php_stream_opendir(dirname, ENFORCE_SAFE_MODE|REPORT_ERRORS, context); in _php_do_opendir()
H A Dmd5.c92 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL); in PHP_NAMED_FUNCTION()
H A Dsha1.c82 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL); in PHP_FUNCTION()
H A Dstreamsfuncs.c131 stream = php_stream_xport_create(host, host_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, in PHP_FUNCTION()
207 stream = php_stream_xport_create(host, host_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, in PHP_FUNCTION()
H A Dhttp_fopen_wrapper.c135 return php_stream_open_wrapper_ex(path, mode, ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); in php_stream_url_wrap_http_ex()
H A Dproc_open.c695 ENFORCE_SAFE_MODE|REPORT_ERRORS|STREAM_WILL_CAST, NULL); in PHP_FUNCTION()
/PHP-5.3/ext/ftp/
H A Dphp_ftp.c877 …p_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
879 …php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
891 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE in PHP_FUNCTION()
938 …p_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
940 …php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
952 …outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", ENFORCE_SAFE_MODE in PHP_FUNCTION()
1134 …php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
1187 …php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
/PHP-5.3/ext/bz2/
H A Dbz2.c245 …stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST | ENFORCE_SAFE_MODE, opene… in _php_stream_bz2open()
401 ENFORCE_SAFE_MODE | REPORT_ERRORS, in PHP_FUNCTION()
/PHP-5.3/ext/hash/
H A Dhash.c139 …stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL, DEFAULT_C… in php_hash_do_hash()
217 …stream = php_stream_open_wrapper_ex(data, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL, DEFAULT_C… in php_hash_do_hash_hmac()
451 …stream = php_stream_open_wrapper_ex(filename, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL, conte… in PHP_FUNCTION()
H A Dhash_md.c151 stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL); in PHP_NAMED_FUNCTION()
/PHP-5.3/ext/zlib/
H A Dzlib.c408 …stream = php_stream_gzopen(NULL, filename, "rb", use_include_path | ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
450 …stream = php_stream_gzopen(NULL, filename, mode, use_include_path | ENFORCE_SAFE_MODE | REPORT_ERR… in PHP_FUNCTION()
479 …stream = php_stream_gzopen(NULL, filename, "rb", use_include_path | ENFORCE_SAFE_MODE, NULL, NULL … in PHP_FUNCTION()
/PHP-5.3/ext/soap/
H A Dphp_xml.c193 return php_stream_open_wrapper((char*)filename, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); in php_stream_xmlIO_open_wrapper()
/PHP-5.3/ext/dba/
H A Ddba.c835 …pen_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_f… in php_dba_open()
850 …ck_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_f… in php_dba_open()
888 …r(info->path, file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_f… in php_dba_open()
/PHP-5.3/ext/fileinfo/libmagic/
H A Dmagic.c428 stream = php_stream_open_wrapper((char *)inname, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL); in file_or_stream()
H A Dapprentice.c668 stream = php_stream_open_wrapper((char *)fn, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
2223 stream = php_stream_open_wrapper((char *)fn, "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
2344 stream = php_stream_open_wrapper((char *)fn, "wb+", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL);
/PHP-5.3/ext/libxml/
H A Dlibxml.c304 wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC); in php_libxml_streams_IO_open_wrapper()
316 …ret_val = php_stream_open_wrapper_ex(path_to_open, (char *)mode, ENFORCE_SAFE_MODE|REPORT_ERRORS, … in php_libxml_streams_IO_open_wrapper()
/PHP-5.3/main/streams/
H A Dstreams.c1822 wrapper = php_stream_locate_url_wrapper(path, NULL, ENFORCE_SAFE_MODE TSRMLS_CC);
1837 wrapper = php_stream_locate_url_wrapper(path, NULL, ENFORCE_SAFE_MODE TSRMLS_CC);
1866 wrapper = php_stream_locate_url_wrapper(path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC);
2280 stream = php_stream_opendir(dirname, ENFORCE_SAFE_MODE | REPORT_ERRORS, context);
H A Dplain_wrapper.c1005 …if ((options & ENFORCE_SAFE_MODE) && PG(safe_mode) && (!php_checkuid(path, mode, CHECKUID_CHECK_MO… in php_plain_files_stream_opener()
1056 if (options & ENFORCE_SAFE_MODE) { in php_plain_files_unlink()
/PHP-5.3/ext/fileinfo/
H A Dfileinfo.c531 …stream = php_stream_open_wrapper_ex(buffer, "rb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context…
/PHP-5.3/ext/pdo_pgsql/
H A Dpgsql_driver.c632 …stream = php_stream_open_wrapper_ex(filename, "rb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, FG(de… in PHP_METHOD()
727 …stream = php_stream_open_wrapper_ex(filename, "wb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, FG(de… in PHP_METHOD()
/PHP-5.3/main/
H A Dphp_streams.h487 #define ENFORCE_SAFE_MODE 0x00000004 macro
H A Dnetwork.c1061 stream = php_stream_xport_create(res, reslen, ENFORCE_SAFE_MODE | REPORT_ERRORS,
H A Dmain.c1187 …return php_stream_open_wrapper_as_file((char *)filename, "rb", ENFORCE_SAFE_MODE|USE_PATH|IGNORE_U… in php_fopen_wrapper_for_zend()
1216 …return php_stream_open_for_zend_ex(filename, handle, ENFORCE_SAFE_MODE|USE_PATH|REPORT_ERRORS|STRE… in php_stream_open_for_zend()

Completed in 120 milliseconds

12