Home
last modified time | relevance | path

Searched refs:safe_mode (Results 26 – 50 of 79) sorted by relevance

1234

/PHP-5.3/ext/mysql/tests/
H A Dmysql_pconnect.phpt39 if (!ini_get('sql.safe_mode')) {
H A Dmysql_connect.phpt49 if (!ini_get('sql.safe_mode')) {
/PHP-5.3/ext/pspell/
H A Dpspell.c410 if (PG(safe_mode) && (!php_checkuid(personal, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
848 if (PG(safe_mode) && (!php_checkuid(value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in pspell_config_path()
907 if (PG(safe_mode) && (!php_checkuid(repl, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
/PHP-5.3/ext/standard/
H A Ddl.c66 } else if (PG(safe_mode)) { in PHP_FUNCTION()
H A Diptc.c197 if (PG(safe_mode) && (!php_checkuid(jpeg_file, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
H A Dmail.c109 if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) { in PHP_FUNCTION()
H A Dfile.c865 if (PG(safe_mode) &&(!php_checkuid(dir, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
990 if (PG(safe_mode)){ in PHP_FUNCTION()
1394 if (PG(safe_mode) && (!php_checkuid(dir, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in php_mkdir_ex()
1749 if (PG(safe_mode) &&(!php_checkuid(source, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
2442 if (PG(safe_mode) && (!php_checkuid(resolved_path_buff, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
H A Dproc_open.c156 if (PG(safe_mode)) { in _php_array_to_envp()
285 if (!PG(safe_mode)) { in php_make_safe_mode_command()
/PHP-5.3/sapi/apache_hooks/
H A Dphp_apache.c47 static void apache_table_to_zval(table *, int safe_mode, zval *return_value);
1686 …if (env[i].key && (!PG(safe_mode) || (PG(safe_mode) && strncasecmp(env[i].key, "authorization", 13… in PHP_MINFO_FUNCTION()
1756 static void apache_table_to_zval(table *t, int safe_mode, zval *return_value) in apache_table_to_zval() argument
1767 (safe_mode && !strncasecmp(tenv[i].key, "authorization", 13))) { in apache_table_to_zval()
1792 apache_table_to_zval(((request_rec *)SG(server_context))->headers_in, PG(safe_mode), return_value); in PHP_FUNCTION()
/PHP-5.3/main/
H A Dphp_ini.c387 safe_mode_state = PG(safe_mode); in php_init_config()
560 PG(safe_mode) = 0; in php_init_config()
613 PG(safe_mode) = safe_mode_state; in php_init_config()
H A Dmain.c368 if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_INI_MH()
388 if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_INI_MH()
482 …STD_PHP_INI_BOOLEAN("safe_mode", "1", PHP_INI_SYSTEM, OnUpdateBool, safe_mode, php_core_g…
484 …STD_PHP_INI_BOOLEAN("safe_mode", "0", PHP_INI_SYSTEM, OnUpdateBool, safe_mode, php_core_g…
1163 if (PG(safe_mode)) { in PHP_FUNCTION()
1453 if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { in php_request_startup()
2031 if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { in php_module_startup()
/PHP-5.3/ext/curl/
H A Dstreams.c406 if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) { in php_curl_stream_opener()
414 if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) { in php_curl_stream_opener()
H A Dinterface.c176 if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) { in php_curl_option_url()
1788 …((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) && (Z_LVAL_PP(zvalue) & CURLPROTO_FILE)… in _php_curl_setopt()
1805 if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) { in _php_curl_setopt()
1859 …if (php_check_open_basedir(Z_STRVAL_PP(zvalue) TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(Z_STR… in _php_curl_setopt()
2086 …if (php_check_open_basedir(postval TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(postval, "rb+", C… in _php_curl_setopt()
2188 …value) && php_check_open_basedir(Z_STRVAL_PP(zvalue) TSRMLS_CC)) || (PG(safe_mode) && !php_checkui… in _php_curl_setopt()
/PHP-5.3/ext/posix/
H A Dposix.c850 (PG(safe_mode) && (!php_checkuid(path, NULL, CHECKUID_ALLOW_ONLY_DIR)))) { in PHP_FUNCTION()
889 (PG(safe_mode) && (!php_checkuid(path, NULL, CHECKUID_ALLOW_ONLY_DIR)))) { in PHP_FUNCTION()
979 …(PG(safe_mode) && (!php_checkuid_ex(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ERROR… in PHP_FUNCTION()
/PHP-5.3/sapi/nsapi/
H A Dnsapi.c417 if (!PG(safe_mode) || strncasecmp(entry->param->name, "authorization", 13)) { in PHP_FUNCTION()
679 if (!PG(safe_mode) || strncasecmp(entry->param->name, "authorization", 13)) { in sapi_nsapi_register_server_variables()
1038 if (!PG(safe_mode)) php_handle_auth_data(pblock_findval("authorization", rq->headers) TSRMLS_CC); in php5_execute()
/PHP-5.3/sapi/apache2handler/
H A Dsapi_apache2.c493 if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) { in php_apache_request_ctor()
/PHP-5.3/ext/com_dotnet/
H A Dcom_persist.c400 if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || in CPH_METHOD()
467 if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || in CPH_METHOD()
/PHP-5.3/sapi/apache2filter/
H A Dsapi_apache2.c429 if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(f->r))) { in php_apache_request_ctor()
/PHP-5.3/ext/pdo_sqlite/
H A Dsqlite_driver.c770 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in make_filename_safe()
845 if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { in pdo_sqlite_handle_factory()
/PHP-5.3/sapi/apache/
H A Dmod_php5.c548 if (authorization && (!PG(safe_mode) || (PG(safe_mode) && !auth_type(r)))) { in init_request_info()
/PHP-5.3/ext/sqlite/
H A Dsqlite.c1069 if (PG(safe_mode) && (!php_checkuid(arg4, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in php_sqlite_authorizer()
1082 if (PG(safe_mode) && (!php_checkuid(arg3, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in php_sqlite_authorizer()
1513 if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { in php_sqlite_open()
1572 if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || in PHP_FUNCTION()
1659 if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || in PHP_FUNCTION()
1713 if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || in PHP_FUNCTION()
H A Dpdo_sqlite2.c525 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in make_filename_safe()
/PHP-5.3/ext/fileinfo/
H A Dfileinfo.c329 …if ((PG(safe_mode) && (!php_checkuid(file, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_…
/PHP-5.3/ext/bz2/
H A Dbz2.c231 …if ((PG(safe_mode) && (!php_checkuid(path_copy, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_… in _php_stream_bz2open()
/PHP-5.3/ext/sqlite3/
H A Dsqlite3.c127 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
167 if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) {
1969 if (PG(safe_mode) && (!php_checkuid(arg3, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {

Completed in 121 milliseconds

1234