/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_pconnect.phpt | 39 if (!ini_get('sql.safe_mode')) {
|
H A D | mysql_connect.phpt | 49 if (!ini_get('sql.safe_mode')) {
|
/PHP-5.3/ext/pspell/ |
H A D | pspell.c | 410 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 D | dl.c | 66 } else if (PG(safe_mode)) { in PHP_FUNCTION()
|
H A D | iptc.c | 197 if (PG(safe_mode) && (!php_checkuid(jpeg_file, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_FUNCTION()
|
H A D | mail.c | 109 if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) { in PHP_FUNCTION()
|
H A D | file.c | 865 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 D | proc_open.c | 156 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 D | php_apache.c | 47 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 D | php_ini.c | 387 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 D | main.c | 368 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 D | streams.c | 406 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 D | interface.c | 176 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 D | posix.c | 850 (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 D | nsapi.c | 417 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 D | sapi_apache2.c | 493 if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) { in php_apache_request_ctor()
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_persist.c | 400 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 D | sapi_apache2.c | 429 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 D | sqlite_driver.c | 770 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 D | mod_php5.c | 548 if (authorization && (!PG(safe_mode) || (PG(safe_mode) && !auth_type(r)))) { in init_request_info()
|
/PHP-5.3/ext/sqlite/ |
H A D | sqlite.c | 1069 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 D | pdo_sqlite2.c | 525 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in make_filename_safe()
|
/PHP-5.3/ext/fileinfo/ |
H A D | fileinfo.c | 329 …if ((PG(safe_mode) && (!php_checkuid(file, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_…
|
/PHP-5.3/ext/bz2/ |
H A D | bz2.c | 231 …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 D | sqlite3.c | 127 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))) {
|