PG 229 ext/bz2/bz2.c if ((PG(safe_mode) && (!php_checkuid(path_copy, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(path_copy TSRMLS_CC)) { PG 353 ext/bz2/bz2.c if (PG(magic_quotes_runtime)) { PG 364 ext/com_dotnet/com_com.c if (PG(html_errors)) { PG 397 ext/com_dotnet/com_persist.c if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || PG 460 ext/com_dotnet/com_persist.c if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || PG 166 ext/curl/interface.c if (((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) && \ PG 183 ext/curl/interface.c (PG(safe_mode) && !php_checkuid(tmp_url->path, "rb+", CHECKUID_CHECK_MODE_PARAM)) \ PG 1299 ext/curl/interface.c if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) { PG 1484 ext/curl/interface.c if (php_check_open_basedir(postval TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(postval, "rb+", CHECKUID_CHECK_MODE_PARAM))) { PG 1574 ext/curl/interface.c if (php_check_open_basedir(Z_STRVAL_PP(zvalue) TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(Z_STRVAL_PP(zvalue), "rb+", CHECKUID_CHECK_MODE_PARAM))) { PG 368 ext/curl/streams.c if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) { PG 376 ext/curl/streams.c if ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) { PG 574 ext/dba/dba.c if (PG(magic_quotes_runtime)) { PG 1037 ext/dba/dba.c if (val && PG(magic_quotes_runtime)) { PG 145 ext/dbase/dbase.c if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(dbf_name), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 609 ext/dbase/dbase.c if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(filename), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 1693 ext/exif/exif.c if (PG(magic_quotes_runtime)) { PG 1720 ext/exif/exif.c if (PG(magic_quotes_runtime)) { PG 1846 ext/exif/exif.c if (PG(magic_quotes_runtime)) { PG 1891 ext/exif/exif.c if (PG(magic_quotes_runtime)) { PG 472 ext/fdf/fdf.c if (php_check_open_basedir(Z_STRVAL_PP(file) TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(Z_STRVAL_PP(file), "wb+", CHECKUID_CHECK_MODE_PARAM))) { PG 504 ext/fdf/fdf.c fp = php_open_temporary_file(PG(upload_tmp_dir), "php", &temp_filename TSRMLS_CC); PG 763 ext/fdf/fdf.c if (php_check_open_basedir(Z_STRVAL_PP(filename) TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(Z_STRVAL_PP(filename), "wb+", CHECKUID_CHECK_MODE_PARAM))) { PG 818 ext/fdf/fdf.c if (php_check_open_basedir(filename TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(filename, "wb+", CHECKUID_CHECK_MODE_PARAM))) { PG 958 ext/fdf/fdf.c if (php_check_open_basedir(filename TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(filename, "wb+", CHECKUID_CHECK_MODE_PARAM))) { PG 1035 ext/fdf/fdf.c if (php_check_open_basedir(filename TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(filename, "wb+", CHECKUID_CHECK_MODE_PARAM))) { PG 1043 ext/fdf/fdf.c fp = php_open_temporary_file(PG(upload_tmp_dir), "php", &temp_filename TSRMLS_CC); PG 1091 ext/fdf/fdf.c fp = php_open_temporary_file(PG(upload_tmp_dir), "php", &temp_filename TSRMLS_CC); PG 1155 ext/fdf/fdf.c if (php_check_open_basedir(Z_STRVAL_PP(filename) TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(Z_STRVAL_PP(filename), "wb+", CHECKUID_CHECK_MODE_PARAM))) { PG 1729 ext/fdf/fdf.c if (php_check_open_basedir(savepath TSRMLS_CC) || (PG(safe_mode) && !php_checkuid(savepath, "wb+", CHECKUID_CHECK_MODE_PARAM))) { PG 359 ext/filter/filter.c orig_array_ptr = PG(http_globals)[t]; \ PG 411 ext/filter/filter.c } else if (PG(magic_quotes_gpc) && !retval) { /* for PARSE_STRING php_register_variable_safe() will do the addslashes() */ PG 477 ext/filter/filter.c zend_bool jit_initialization = (PG(auto_globals_jit) && !PG(register_globals) && !PG(register_long_arrays)); PG 36 ext/gd/php_gd.h (PG(safe_mode) && !php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR)) \ PG 785 ext/imap/php_imap.c (PG(safe_mode) && !php_checkuid(Z_STRVAL_PP(mailbox), NULL, CHECKUID_CHECK_FILE_AND_DIR)))) { PG 865 ext/imap/php_imap.c (PG(safe_mode) && !php_checkuid(Z_STRVAL_PP(mailbox), NULL, CHECKUID_CHECK_FILE_AND_DIR)))) { PG 1088 ext/interbase/ibase_query.c if (PG(sql_safe_mode)) { PG 1307 ext/interbase/ibase_query.c if (PG(magic_quotes_runtime)) { PG 642 ext/interbase/interbase.c if ((!len[DB] || PG(sql_safe_mode)) && (c = INI_STR("ibase.default_db"))) { PG 76 ext/mbstring/mb_gpc.c PG(http_globals)[TRACK_VARS_POST] = array_ptr; PG 79 ext/mbstring/mb_gpc.c PG(http_globals)[TRACK_VARS_GET] = array_ptr; PG 82 ext/mbstring/mb_gpc.c PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr; PG 125 ext/mbstring/mb_gpc.c separator = (char *) estrdup(PG(arg_separator).input); PG 211 ext/mbstring/mb_gpc.c if (info->force_register_globals && !(prev_rg_state = PG(register_globals))) { PG 1435 ext/mbstring/mbstring.c info.separator = PG(arg_separator).input; PG 3567 ext/mbstring/mbstring.c if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) { PG 86 ext/ming/ming.c if ((PG(safe_mode) && !php_checkuid((file), NULL, CHECKUID_CHECK_FILE_AND_DIR)) || php_check_open_basedir((file) TSRMLS_CC)) { \ PG 845 ext/msql/php_msql.c if (PG(magic_quotes_runtime)) { PG 941 ext/msql/php_msql.c if (PG(magic_quotes_runtime)) { PG 1417 ext/mssql/php_mssql.c if (PG(magic_quotes_runtime)) { PG 550 ext/mysql/php_mysql.c if (PG(sql_safe_mode)) { PG 585 ext/mysql/php_mysql.c if (((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) && (client_flags & CLIENT_LOCAL_FILES)) { PG 1835 ext/mysql/php_mysql.c if (PG(magic_quotes_runtime)) { PG 1966 ext/mysql/php_mysql.c if (PG(magic_quotes_runtime)) { PG 911 ext/mysqli/mysqli.c if (PG(magic_quotes_runtime)) { PG 1068 ext/mysqli/mysqli.c if (PG(open_basedir)) { PG 1298 ext/mysqli/mysqli_api.c if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) { PG 1426 ext/mysqli/mysqli_api.c if (PG(sql_safe_mode)) { PG 1446 ext/mysqli/mysqli_api.c if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) { PG 57 ext/mysqli/mysqli_nonapi.c if (PG(sql_safe_mode)){ PG 1016 ext/oci8/oci8.c if (PG(safe_mode)) { PG 1801 ext/oci8/oci8.c if ((PG(connection_status) & PHP_CONNECTION_TIMEOUT) || OCI_G(in_call)) { PG 923 ext/oci8/oci8_interface.c if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 1718 ext/oci8/oci8_interface.c if (PG(safe_mode)) { PG 702 ext/oci8/oci8_lob.c if ((PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC)) { PG 318 ext/odbc/php_odbc.c if (PG(html_errors)) { PG 1017 ext/odbc/php_odbc.c if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 213 ext/openssl/openssl.c if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 496 ext/pdo_mysql/mysql_driver.c if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) { PG 649 ext/pdo_sqlite/sqlite_driver.c if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 724 ext/pdo_sqlite/sqlite_driver.c if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { PG 2077 ext/pgsql/pgsql.c if (PG(magic_quotes_runtime)) { PG 2923 ext/pgsql/pgsql.c if (PG(safe_mode) &&(!php_checkuid(file_in, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 3021 ext/pgsql/pgsql.c if (PG(safe_mode) &&(!php_checkuid(file_out, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 5766 ext/pgsql/pgsql.c if (PG(magic_quotes_runtime)) { PG 677 ext/posix/posix.c if (PG(safe_mode) && (!php_checkuid(path, NULL, CHECKUID_ALLOW_ONLY_DIR))) { PG 712 ext/posix/posix.c (PG(safe_mode) && (!php_checkuid(path, NULL, CHECKUID_ALLOW_ONLY_DIR)))) { PG 796 ext/posix/posix.c (PG(safe_mode) && (!php_checkuid_ex(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ERRORS)))) { PG 315 ext/pspell/pspell.c if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(personal), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 809 ext/pspell/pspell.c if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(value), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 867 ext/pspell/pspell.c if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(repl), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 172 ext/session/mod_files.c if (PG(safe_mode) || PG(open_basedir)) { PG 183 ext/session/mod_files.c (PG(safe_mode) && !php_checkuid(buf, NULL, CHECKUID_CHECK_FILE_AND_DIR)) PG 282 ext/session/mod_files.c if (PG(safe_mode) && (!php_checkuid(save_path, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 101 ext/session/session.c if (PG(modules_activated) && !tmp) { PG 136 ext/session/session.c if (PG(modules_activated) && !tmp) { PG 167 ext/session/session.c if (PG(safe_mode) && (!php_checkuid(p, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 171 ext/session/session.c if (PG(open_basedir) && php_check_open_basedir(p TSRMLS_CC)) { PG 329 ext/session/session.c if (PG(register_globals)) { PG 364 ext/session/session.c if (PG(register_globals)) { PG 421 ext/session/session.c if (PG(register_globals) && ret == SUCCESS PG 621 ext/session/session.c if (PG(register_long_arrays)) { PG 891 ext/session/session.c if (PS(bug_compat) && !PG(register_globals)) { PG 1291 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] && PG 1292 ext/session/session.c zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", PG 1312 ext/session/session.c PG(http_globals)[TRACK_VARS_SERVER] && PG 1313 ext/session/session.c zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", PG 1847 ext/session/session.c if (PG(register_globals)) { PG 330 ext/soap/php_http.c old_allow_url_fopen = PG(allow_url_fopen); PG 331 ext/soap/php_http.c PG(allow_url_fopen) = 1; PG 336 ext/soap/php_http.c PG(allow_url_fopen) = old_allow_url_fopen; PG 386 ext/soap/php_http.c PG(allow_url_fopen) = old_allow_url_fopen; PG 391 ext/soap/php_http.c PG(allow_url_fopen) = old_allow_url_fopen; PG 89 ext/soap/php_xml.c old_allow_url_fopen = PG(allow_url_fopen); PG 90 ext/soap/php_xml.c PG(allow_url_fopen) = 1; PG 92 ext/soap/php_xml.c PG(allow_url_fopen) = old_allow_url_fopen; PG 2021 ext/soap/soap.c if (PG(http_globals)[TRACK_VARS_SERVER] && PG 2022 ext/soap/soap.c zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_USER_AGENT", sizeof("HTTP_USER_AGENT"), (void **) &agent_name) == SUCCESS && PG 2132 ext/soap/soap.c int old = PG(display_errors); PG 2160 ext/soap/soap.c PG(display_errors) = 0; PG 2175 ext/soap/soap.c PG(display_errors) = old; PG 2184 ext/soap/soap.c int old = PG(display_errors); PG 2244 ext/soap/soap.c PG(display_errors) = 0; PG 2258 ext/soap/soap.c PG(display_errors) = old; PG 1530 ext/spl/spl_directory.c if (PG(magic_quotes_runtime)) { PG 2164 ext/spl/spl_directory.c if (PG(magic_quotes_runtime)) { PG 525 ext/sqlite/pdo_sqlite2.c if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 739 ext/sqlite/sqlite.c if (PG(safe_mode) && (!php_checkuid(arg4, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 752 ext/sqlite/sqlite.c if (PG(safe_mode) && (!php_checkuid(arg3, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 1183 ext/sqlite/sqlite.c if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { PG 1239 ext/sqlite/sqlite.c if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || PG 1320 ext/sqlite/sqlite.c if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || PG 1368 ext/sqlite/sqlite.c if ((PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || PG 4156 ext/standard/basic_functions.c PG(magic_quotes_runtime) = INI_BOOL("magic_quotes_runtime"); PG 4425 ext/standard/basic_functions.c if (PG(safe_mode)) { PG 4571 ext/standard/basic_functions.c if ((zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"), (void **) &args) != FAILURE || PG 4914 ext/standard/basic_functions.c PG(magic_quotes_runtime) = (zend_bool) Z_LVAL_PP(new_setting); PG 4923 ext/standard/basic_functions.c RETURN_LONG(PG(magic_quotes_runtime)); PG 4932 ext/standard/basic_functions.c RETURN_LONG(PG(magic_quotes_gpc)); PG 5064 ext/standard/basic_functions.c if (PG(last_error_message)) { PG 5066 ext/standard/basic_functions.c add_assoc_long_ex(return_value, "type", sizeof("type"), PG(last_error_type)); PG 5067 ext/standard/basic_functions.c add_assoc_string_ex(return_value, "message", sizeof("message"), PG(last_error_message), 1); PG 5068 ext/standard/basic_functions.c add_assoc_string_ex(return_value, "file", sizeof("file"), PG(last_error_file)?PG(last_error_file):"-", 1 ); PG 5069 ext/standard/basic_functions.c add_assoc_long_ex(return_value, "line", sizeof("line"), PG(last_error_lineno)); PG 5479 ext/standard/basic_functions.c if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_ALLOW_ONLY_FILE))) { PG 5725 ext/standard/basic_functions.c if (PG(safe_mode) || PG(open_basedir)) { PG 5731 ext/standard/basic_functions.c if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(new_value), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 5744 ext/standard/basic_functions.c if (PG(safe_mode)) { PG 5871 ext/standard/basic_functions.c RETURN_LONG(PG(connection_status) & PHP_CONNECTION_ABORTED); PG 5879 ext/standard/basic_functions.c RETURN_LONG(PG(connection_status)); PG 5890 ext/standard/basic_functions.c old_setting = PG(ignore_user_abort); PG 6133 ext/standard/basic_functions.c if (PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(new_path), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 6398 ext/standard/basic_functions.c zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]), (apply_func_args_t) copy_request_variable, 2, prefix, prefix_len); PG 6403 ext/standard/basic_functions.c zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]), (apply_func_args_t) copy_request_variable, 2, prefix, prefix_len); PG 6404 ext/standard/basic_functions.c zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_FILES]), (apply_func_args_t) copy_request_variable, 2, prefix, prefix_len); PG 6409 ext/standard/basic_functions.c zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]), (apply_func_args_t) copy_request_variable, 2, prefix, prefix_len); PG 303 ext/standard/browscap.c if (!PG(http_globals)[TRACK_VARS_SERVER] PG 304 ext/standard/browscap.c || zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_USER_AGENT", sizeof("HTTP_USER_AGENT"), (void **) &agent_name)==FAILURE) { PG 67 ext/standard/datetime.c if (PG(y2k_compliance)) { PG 315 ext/standard/dir.c if ((PG(safe_mode) && !php_checkuid(str, NULL, CHECKUID_CHECK_FILE_AND_DIR)) || php_check_open_basedir(str TSRMLS_CC)) { PG 458 ext/standard/dir.c if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { PG 471 ext/standard/dir.c if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { PG 472 ext/standard/dir.c if (PG(safe_mode) && (!php_checkuid_ex(globbuf.gl_pathv[n], NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ERRORS))) { PG 68 ext/standard/dl.c if (!PG(enable_dl)) { PG 71 ext/standard/dl.c } else if (PG(safe_mode)) { PG 121 ext/standard/dl.c extension_dir = PG(extension_dir); PG 73 ext/standard/exec.c if (PG(safe_mode)) { PG 83 ext/standard/exec.c spprintf(&d, 0, "%s%s%s%s%s", PG(safe_mode_exec_dir), (b ? "" : "/"), (b ? b : cmd), (c ? " " : ""), (c ? c : "")); PG 159 ext/standard/exec.c if (PG(magic_quotes_runtime)) { PG 453 ext/standard/exec.c if (PG(safe_mode)) { PG 424 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 464 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 565 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 772 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 787 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 951 ext/standard/file.c if (PG(safe_mode)){ PG 967 ext/standard/file.c spprintf(&buf, 0, "%s%s", PG(safe_mode_exec_dir), b); PG 969 ext/standard/file.c spprintf(&buf, 0, "%s/%s", PG(safe_mode_exec_dir), Z_STRVAL_PP(arg1)); PG 1083 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 1301 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 1408 ext/standard/file.c if (PG(safe_mode) && (!php_checkuid(dir, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 1739 ext/standard/file.c if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(source), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 1870 ext/standard/file.c if (PG(magic_quotes_runtime)) { PG 2011 ext/standard/file.c if (!PG(magic_quotes_runtime)) { PG 2387 ext/standard/file.c if (PG(safe_mode) && (!php_checkuid(resolved_path_buff, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 433 ext/standard/filestat.c if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(filename), NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { PG 530 ext/standard/filestat.c if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(filename), NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { PG 598 ext/standard/filestat.c if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(filename), NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { PG 613 ext/standard/filestat.c if(PG(safe_mode)) { PG 672 ext/standard/filestat.c if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(filename), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 755 ext/standard/filestat.c } else if (PG(safe_mode)) { PG 761 ext/standard/filestat.c snprintf(safe_mode_buf, MAXPATHLEN, "%s%s%s", PG(safe_mode_exec_dir), (b ? "" : "/"), (b ? b : local)); PG 54 ext/standard/ftok.c if ((PG(safe_mode) && (!php_checkuid(Z_STRVAL_PP(pathname), NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(Z_STRVAL_PP(pathname) TSRMLS_CC)) { PG 1140 ext/standard/html.c if(!PG(display_errors)) { PG 193 ext/standard/iptc.c if (PG(safe_mode) && (!php_checkuid(jpeg_file, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 66 ext/standard/link.c if (PG(safe_mode) && !php_checkuid(Z_STRVAL_PP(filename), NULL, CHECKUID_CHECK_FILE_AND_DIR)) { PG 137 ext/standard/link.c if (PG(safe_mode) && !php_checkuid(dest_p, NULL, CHECKUID_CHECK_FILE_AND_DIR)) { PG 141 ext/standard/link.c if (PG(safe_mode) && !php_checkuid(source_p, NULL, CHECKUID_CHECK_FILE_AND_DIR)) { PG 194 ext/standard/link.c if (PG(safe_mode) && !php_checkuid(dest_p, NULL, CHECKUID_CHECK_FILE_AND_DIR)) { PG 198 ext/standard/link.c if (PG(safe_mode) && !php_checkuid(source_p, NULL, CHECKUID_CHECK_FILE_AND_DIR)) { PG 100 ext/standard/mail.c if (PG(safe_mode) && (ZEND_NUM_ARGS() == 5)) { PG 191 ext/standard/php_fopen_wrapper.c if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) { PG 201 ext/standard/php_fopen_wrapper.c if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) { PG 258 ext/standard/proc_open.c if (!PG(safe_mode)) { PG 283 ext/standard/proc_open.c spprintf(safecmd, 0, "%s%s%s%s", PG(safe_mode_exec_dir), (sep ? sep : "/"), (sep ? "" : arg0), (space ? cmd + larg0 : "")); PG 377 ext/standard/streamsfuncs.c if (PG(magic_quotes_runtime)) { PG 415 ext/standard/streamsfuncs.c if (PG(magic_quotes_runtime)) { PG 2970 ext/standard/string.c if (PG(magic_quotes_sybase)) { PG 3269 ext/standard/string.c if (!ignore_sybase && PG(magic_quotes_sybase)) { PG 69 ext/standard/url_scanner.c spprintf(&result, 0, "%s%s", (strchr(val,'?') ? PG(arg_separator).output : "?"), buf); PG 212 ext/standard/url_scanner_ex.c append_modified_url(&ctx->val, &ctx->result, &ctx->url_app, PG(arg_separator).output); PG 888 ext/standard/url_scanner_ex.c append_modified_url(&surl, &buf, &url_app, PG(arg_separator).output); PG 994 ext/standard/url_scanner_ex.c smart_str_appends(&BG(url_adapt_state_ex).url_app, PG(arg_separator).output); PG 687 ext/standard/var.c s = (char *) safe_emalloc(PG(serialize_precision), 1, MAX_LENGTH_OF_DOUBLE + 1); PG 688 ext/standard/var.c php_gcvt(Z_DVAL_P(struc), PG(serialize_precision), '.', 'E', s); PG 593 ext/standard/var_unserializer.c if ((PG(unserialize_callback_func) == NULL) || (PG(unserialize_callback_func)[0] == '\0')) { PG 601 ext/standard/var_unserializer.c ZVAL_STRING(user_func, PG(unserialize_callback_func), 1); PG 852 ext/sybase/php_sybase_db.c if (PG(magic_quotes_runtime)) { PG 1795 ext/sybase_ct/php_sybase_ct.c if (PG(magic_quotes_runtime) && Z_TYPE_P(tmp) == IS_STRING) { PG 160 ext/tidy/tidy.c if ((PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC)) { \ PG 38 ext/zip/php_zip.h (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC) PG 319 ext/zlib/zlib.c if (PG(magic_quotes_runtime)) { PG 900 ext/zlib/zlib.c if (!PG(http_globals)[TRACK_VARS_SERVER] PG 901 ext/zlib/zlib.c || zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_ACCEPT_ENCODING", sizeof("HTTP_ACCEPT_ENCODING"), (void **) &a_encoding) == FAILURE PG 989 ext/zlib/zlib.c if (!PG(http_globals)[TRACK_VARS_SERVER] PG 990 ext/zlib/zlib.c || zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_ACCEPT_ENCODING", sizeof("HTTP_ACCEPT_ENCODING"), (void **) &a_encoding) == FAILURE PG 655 main/SAPI.c if(PG(safe_mode)) PG 223 main/fopen_wrappers.c if (PG(open_basedir) && *PG(open_basedir)) { PG 228 main/fopen_wrappers.c pathbuf = estrdup(PG(open_basedir)); PG 247 main/fopen_wrappers.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s)", path, PG(open_basedir)); PG 263 main/fopen_wrappers.c if (PG(safe_mode)) { PG 264 main/fopen_wrappers.c if (PG(safe_mode_include_dir) && *PG(safe_mode_include_dir)) { PG 274 main/fopen_wrappers.c pathbuf = estrdup(PG(safe_mode_include_dir)); PG 339 main/fopen_wrappers.c if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) { PG 372 main/fopen_wrappers.c spprintf(&filename, 0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_SEPARATOR, s + 1); /* Safe */ PG 382 main/fopen_wrappers.c if (PG(doc_root) && path_info) { PG 383 main/fopen_wrappers.c length = strlen(PG(doc_root)); PG 384 main/fopen_wrappers.c if (IS_ABSOLUTE_PATH(PG(doc_root), length)) { PG 387 main/fopen_wrappers.c memcpy(filename, PG(doc_root), length); PG 469 main/fopen_wrappers.c if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) { PG 486 main/fopen_wrappers.c if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) { PG 493 main/fopen_wrappers.c if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) { PG 532 main/fopen_wrappers.c if (PG(safe_mode)) { PG 121 main/main.c PG(memory_limit) = zend_atoi(new_value, new_value_length); PG 123 main/main.c PG(memory_limit) = 1<<30; /* effectively, no limit */ PG 125 main/main.c return zend_set_memory_limit(PG(memory_limit)); PG 140 main/main.c e = PG(disable_functions) = strdup(INI_STR("disable_functions")); PG 176 main/main.c e = PG(disable_classes) = strdup(INI_STR("disable_classes")); PG 252 main/main.c PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length); PG 313 main/main.c if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 317 main/main.c if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) { PG 478 main/main.c if (PG(error_log) != NULL) { PG 480 main/main.c if (!strcmp(PG(error_log), "syslog")) { PG 485 main/main.c fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644); PG 578 main/main.c if (PG(html_errors)) { PG 635 main/main.c if (PG(html_errors)) { PG 666 main/main.c if (docref && is_function && (PG(html_errors) || strlen(PG(docref_root)))) { PG 672 main/main.c docref_root = PG(docref_root); PG 689 main/main.c if (PG(docref_ext) && strlen(PG(docref_ext))) { PG 690 main/main.c spprintf(&docref_buf, 0, "%s%s", ref, PG(docref_ext)); PG 696 main/main.c if (PG(html_errors)) { PG 712 main/main.c if (PG(track_errors) && module_initialized && EG(active_symbol_table) && PG 777 main/main.c PG(error_handling) = error_handling; PG 778 main/main.c PG(exception_class) = exception_class; PG 779 main/main.c if (PG(last_error_message)) { PG 780 main/main.c free(PG(last_error_message)); PG 781 main/main.c PG(last_error_message) = NULL; PG 783 main/main.c if (PG(last_error_file)) { PG 784 main/main.c free(PG(last_error_file)); PG 785 main/main.c PG(last_error_file) = NULL; PG 787 main/main.c PG(last_error_lineno) = 0; PG 799 main/main.c buffer_len = vspprintf(&buffer, PG(log_errors_max_len), format, args); PG 802 main/main.c if (PG(ignore_repeated_errors) && PG(last_error_message)) { PG 805 main/main.c if (strcmp(PG(last_error_message), buffer) PG 806 main/main.c || (!PG(ignore_repeated_source) PG 807 main/main.c && ((PG(last_error_lineno) != (int)error_lineno) PG 808 main/main.c || strcmp(PG(last_error_file), error_filename)))) { PG 819 main/main.c if (PG(last_error_message)) { PG 820 main/main.c free(PG(last_error_message)); PG 822 main/main.c if (PG(last_error_file)) { PG 823 main/main.c free(PG(last_error_file)); PG 825 main/main.c PG(last_error_type) = type; PG 826 main/main.c PG(last_error_message) = strdup(buffer); PG 827 main/main.c PG(last_error_file) = strdup(error_filename); PG 828 main/main.c PG(last_error_lineno) = error_lineno; PG 832 main/main.c if (PG(error_handling) != EH_NORMAL) { PG 852 main/main.c if (PG(error_handling) == EH_THROW && !EG(exception)) { PG 853 main/main.c zend_throw_error_exception(PG(exception_class), buffer, 0, type TSRMLS_CC); PG 862 main/main.c && (PG(log_errors) || PG(display_errors) || (!module_initialized))) { PG 896 main/main.c if (!module_initialized || PG(log_errors)) { PG 899 main/main.c if ((type == E_CORE_ERROR || type == E_CORE_WARNING) && PG(display_startup_errors)) { PG 907 main/main.c if (PG(display_errors) PG 908 main/main.c && ((module_initialized && !PG(during_request_startup)) PG 909 main/main.c || (PG(display_startup_errors) PG 915 main/main.c if (PG(xmlrpc_errors)) { PG 916 main/main.c php_printf("<?xml version=\"1.0\"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>%ld</int></value></member><member><name>faultString</name><value><string>%s:%s in %s on line %d</string></value></member></struct></value></fault></methodResponse>", PG(xmlrpc_error_number), error_type_str, buffer, error_filename, error_lineno); PG 921 main/main.c if (PG(html_errors)) { PG 933 main/main.c PG(display_errors) == PHP_DISPLAY_ERRORS_STDERR PG 943 main/main.c if (PG(report_zend_debug)) { PG 977 main/main.c if (!PG(display_errors) && PG 990 main/main.c zend_set_memory_limit(PG(memory_limit)); PG 1006 main/main.c if (PG(track_errors) && module_initialized && EG(active_symbol_table)) { PG 1023 main/main.c if (PG(safe_mode)) { PG 1116 main/main.c php_error_docref("function.include" TSRMLS_CC, E_WARNING, "Failed opening '%s' for inclusion (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path))); PG 1119 main/main.c php_error_docref("function.require" TSRMLS_CC, E_COMPILE_ERROR, "Failed opening required '%s' (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path))); PG 1196 main/main.c PG(connection_status) |= PHP_CONNECTION_TIMEOUT; PG 1219 main/main.c PG(during_request_startup) = 1; PG 1222 main/main.c PG(modules_activated) = 0; PG 1223 main/main.c PG(header_is_being_sent) = 0; PG 1224 main/main.c PG(connection_status) = PHP_CONNECTION_NORMAL; PG 1229 main/main.c PG(modules_activated)=1; PG 1249 main/main.c PG(com_initialized) = 0; PG 1257 main/main.c PG(during_request_startup) = 1; PG 1262 main/main.c PG(modules_activated) = 0; PG 1263 main/main.c PG(header_is_being_sent) = 0; PG 1264 main/main.c PG(connection_status) = PHP_CONNECTION_NORMAL; PG 1265 main/main.c PG(in_user_include) = 0; PG 1270 main/main.c if (PG(max_input_time) == -1) { PG 1273 main/main.c zend_set_timeout(PG(max_input_time)); PG 1277 main/main.c if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { PG 1281 main/main.c if (PG(expose_php)) { PG 1285 main/main.c if (PG(output_handler) && PG(output_handler)[0]) { PG 1286 main/main.c php_start_ob_buffer_named(PG(output_handler), 0, 1 TSRMLS_CC); PG 1287 main/main.c } else if (PG(output_buffering)) { PG 1288 main/main.c if (PG(output_buffering)>1) { PG 1289 main/main.c php_start_ob_buffer(NULL, PG(output_buffering), 1 TSRMLS_CC); PG 1293 main/main.c } else if (PG(implicit_flush)) { PG 1302 main/main.c PG(modules_activated)=1; PG 1329 main/main.c PG(during_request_startup) = 1; PG 1331 main/main.c if (PG(expose_php)) { PG 1383 main/main.c if (PG(modules_activated)) zend_try { PG 1387 main/main.c if (PG(modules_activated)) { PG 1396 main/main.c if (PG(http_globals)[i]) { PG 1397 main/main.c zval_ptr_dtor(&PG(http_globals)[i]); PG 1430 main/main.c report_memleaks = PG(report_memleaks); PG 1439 main/main.c if (PG(modules_activated)) zend_try { PG 1459 main/main.c if (PG(modules_activated)) { PG 1469 main/main.c if (PG(http_globals)[i]) { PG 1470 main/main.c zval_ptr_dtor(&PG(http_globals)[i]); PG 1476 main/main.c if (PG(last_error_message)) { PG 1477 main/main.c free(PG(last_error_message)); PG 1478 main/main.c PG(last_error_message) = NULL; PG 1480 main/main.c if (PG(last_error_file)) { PG 1481 main/main.c free(PG(last_error_file)); PG 1482 main/main.c PG(last_error_file) = NULL; PG 1514 main/main.c if (PG(com_initialized)) { PG 1516 main/main.c PG(com_initialized) = 0; PG 1527 main/main.c if (!PG(com_initialized)) { PG 1529 main/main.c PG(com_initialized) = 1; PG 1705 main/main.c PG(header_is_being_sent) = 0; PG 1710 main/main.c PG(connection_status) = PHP_CONNECTION_NORMAL; PG 1711 main/main.c PG(during_request_startup) = 0; PG 1712 main/main.c PG(last_error_message) = NULL; PG 1713 main/main.c PG(last_error_file) = NULL; PG 1714 main/main.c PG(last_error_lineno) = 0; PG 1715 main/main.c PG(error_handling) = EH_NORMAL; PG 1716 main/main.c PG(disable_functions) = NULL; PG 1717 main/main.c PG(disable_classes) = NULL; PG 1752 main/main.c if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { PG 1951 main/main.c PG(during_request_startup) = 0; PG 1980 main/main.c if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) { PG 1981 main/main.c prepend_file.filename = PG(auto_prepend_file); PG 1990 main/main.c if (PG(auto_append_file) && PG(auto_append_file)[0]) { PG 1991 main/main.c append_file.filename = PG(auto_append_file); PG 1999 main/main.c if (PG(max_input_time) != -1) { PG 2040 main/main.c PG(during_request_startup) = 0; PG 2064 main/main.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 2067 main/main.c if (!PG(ignore_user_abort)) { PG 52 main/php_content_types.c if ((PG(always_populate_raw_post_data) || NULL == SG(request_info).post_entry) && SG(request_info).post_data) { PG 286 main/php_ini.c safe_mode_state = PG(safe_mode); PG 287 main/php_ini.c open_basedir = PG(open_basedir); PG 448 main/php_ini.c PG(safe_mode) = 0; PG 449 main/php_ini.c PG(open_basedir) = NULL; PG 490 main/php_ini.c PG(safe_mode) = safe_mode_state; PG 491 main/php_ini.c PG(open_basedir) = open_basedir; PG 26 main/php_ticks.c zend_llist_init(&PG(tick_functions), sizeof(void(*)(int)), NULL, 1); PG 32 main/php_ticks.c zend_llist_destroy(&PG(tick_functions)); PG 48 main/php_ticks.c zend_llist_add_element(&PG(tick_functions), (void *)&func); PG 55 main/php_ticks.c zend_llist_del_element(&PG(tick_functions), (void *)func, PG 71 main/php_ticks.c zend_llist_apply_with_argument(&PG(tick_functions), (llist_apply_with_arg_func_t) php_tick_iterator, &count TSRMLS_CC); PG 50 main/php_variables.c if (PG(magic_quotes_gpc)) { PG 74 main/php_variables.c } else if (PG(register_globals)) { PG 127 main/php_variables.c if(++nest_level > PG(max_input_nesting_level)) { PG 133 main/php_variables.c } else if (PG(register_globals)) { PG 142 main/php_variables.c if (!PG(display_errors)) { PG 143 main/php_variables.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variable nesting level exceeded %ld. To increase the limit change max_input_nesting_level in php.ini.", PG(max_input_nesting_level)); PG 177 main/php_variables.c if (PG(magic_quotes_gpc)) { PG 213 main/php_variables.c if (PG(magic_quotes_gpc)) { PG 224 main/php_variables.c if (PG(http_globals)[TRACK_VARS_COOKIE] && PG 225 main/php_variables.c symtable1 == Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) && PG 298 main/php_variables.c if (PG(http_globals)[TRACK_VARS_POST]) { PG 299 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_POST]); PG 301 main/php_variables.c PG(http_globals)[TRACK_VARS_POST] = array_ptr; PG 304 main/php_variables.c if (PG(http_globals)[TRACK_VARS_GET]) { PG 305 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_GET]); PG 307 main/php_variables.c PG(http_globals)[TRACK_VARS_GET] = array_ptr; PG 310 main/php_variables.c if (PG(http_globals)[TRACK_VARS_COOKIE]) { PG 311 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_COOKIE]); PG 313 main/php_variables.c PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr; PG 355 main/php_variables.c separator = (char *) estrdup(PG(arg_separator).input); PG 422 main/php_variables.c int magic_quotes_gpc = PG(magic_quotes_gpc); PG 423 main/php_variables.c PG(magic_quotes_gpc) = 0; PG 442 main/php_variables.c PG(magic_quotes_gpc) = magic_quotes_gpc; PG 459 main/php_variables.c if (!(PG(register_globals) || SG(request_info).argc || track_vars_array)) { PG 518 main/php_variables.c if (PG(register_globals) || SG(request_info).argc) { PG 539 main/php_variables.c if (PG(expose_php) && SG(request_info).query_string && SG(request_info).query_string[0] == '=') { PG 557 main/php_variables.c int magic_quotes_gpc = PG(magic_quotes_gpc); PG 562 main/php_variables.c if (PG(http_globals)[TRACK_VARS_SERVER]) { PG 563 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); PG 565 main/php_variables.c PG(http_globals)[TRACK_VARS_SERVER] = array_ptr; PG 566 main/php_variables.c PG(magic_quotes_gpc) = 0; PG 591 main/php_variables.c PG(magic_quotes_gpc) = magic_quotes_gpc; PG 605 main/php_variables.c int globals_check = (PG(register_globals) && (dest == (&EG(symbol_table)))); PG 645 main/php_variables.c zend_bool jit_initialization = (PG(auto_globals_jit) && !PG(register_globals) && !PG(register_long_arrays)); PG 665 main/php_variables.c PG(http_globals)[i] = NULL; PG 668 main/php_variables.c for (p=PG(variables_order); p && *p; p++) { PG 675 main/php_variables.c if (PG(register_globals)) { PG 676 main/php_variables.c php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSRMLS_CC); PG 685 main/php_variables.c if (PG(register_globals)) { PG 686 main/php_variables.c php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) TSRMLS_CC); PG 695 main/php_variables.c if (PG(register_globals)) { PG 696 main/php_variables.c php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRMLS_CC); PG 706 main/php_variables.c if (PG(register_globals)) { PG 707 main/php_variables.c php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV]) TSRMLS_CC); PG 717 main/php_variables.c if (PG(register_globals)) { PG 718 main/php_variables.c php_autoglobal_merge(&EG(symbol_table), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]) TSRMLS_CC); PG 726 main/php_variables.c if (PG(register_argc_argv)) { PG 727 main/php_variables.c php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); PG 734 main/php_variables.c if (!PG(http_globals)[i]) { PG 735 main/php_variables.c ALLOC_ZVAL(PG(http_globals)[i]); PG 736 main/php_variables.c array_init(PG(http_globals)[i]); PG 737 main/php_variables.c INIT_PZVAL(PG(http_globals)[i]); PG 740 main/php_variables.c PG(http_globals)[i]->refcount++; PG 741 main/php_variables.c zend_hash_update(&EG(symbol_table), auto_global_records[i].name, auto_global_records[i].name_len, &PG(http_globals)[i], sizeof(zval *), NULL); PG 742 main/php_variables.c if (PG(register_long_arrays)) { PG 743 main/php_variables.c zend_hash_update(&EG(symbol_table), auto_global_records[i].long_name, auto_global_records[i].long_name_len, &PG(http_globals)[i], sizeof(zval *), NULL); PG 744 main/php_variables.c PG(http_globals)[i]->refcount++; PG 760 main/php_variables.c if (PG(variables_order) && (strchr(PG(variables_order),'S') || strchr(PG(variables_order),'s'))) { PG 763 main/php_variables.c if (PG(register_argc_argv)) { PG 771 main/php_variables.c zend_hash_update(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"), argv, sizeof(zval *), NULL); PG 772 main/php_variables.c zend_hash_update(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "argc", sizeof("argc"), argc, sizeof(zval *), NULL); PG 775 main/php_variables.c php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); PG 784 main/php_variables.c if (PG(http_globals)[TRACK_VARS_SERVER]) { PG 785 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]); PG 787 main/php_variables.c PG(http_globals)[TRACK_VARS_SERVER] = server_vars; PG 790 main/php_variables.c zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_SERVER], sizeof(zval *), NULL); PG 791 main/php_variables.c PG(http_globals)[TRACK_VARS_SERVER]->refcount++; PG 793 main/php_variables.c if (PG(register_long_arrays)) { PG 794 main/php_variables.c zend_hash_update(&EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_SERVER_VARS"), &PG(http_globals)[TRACK_VARS_SERVER], sizeof(zval *), NULL); PG 795 main/php_variables.c PG(http_globals)[TRACK_VARS_SERVER]->refcount++; PG 807 main/php_variables.c if (PG(http_globals)[TRACK_VARS_ENV]) { PG 808 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_ENV]); PG 810 main/php_variables.c PG(http_globals)[TRACK_VARS_ENV] = env_vars; PG 812 main/php_variables.c if (PG(variables_order) && (strchr(PG(variables_order),'E') || strchr(PG(variables_order),'e'))) { PG 813 main/php_variables.c php_import_environment_variables(PG(http_globals)[TRACK_VARS_ENV] TSRMLS_CC); PG 816 main/php_variables.c zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_ENV], sizeof(zval *), NULL); PG 817 main/php_variables.c PG(http_globals)[TRACK_VARS_ENV]->refcount++; PG 819 main/php_variables.c if (PG(register_long_arrays)) { PG 820 main/php_variables.c zend_hash_update(&EG(symbol_table), "HTTP_ENV_VARS", sizeof("HTTP_ENV_VARS"), &PG(http_globals)[TRACK_VARS_ENV], sizeof(zval *), NULL); PG 821 main/php_variables.c PG(http_globals)[TRACK_VARS_ENV]->refcount++; PG 837 main/php_variables.c for (p = PG(variables_order); p && *p; p++) { PG 842 main/php_variables.c php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRMLS_CC); PG 849 main/php_variables.c php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSRMLS_CC); PG 856 main/php_variables.c php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) TSRMLS_CC); PG 50 main/rfc1867.c zend_hash_destroy(&PG(rfc1867_protected_variables)); \ PG 114 main/rfc1867.c zend_hash_destroy(&PG(rfc1867_protected_variables)); \ PG 215 main/rfc1867.c zend_hash_add(&PG(rfc1867_protected_variables), varname, strlen(varname)+1, &dummy, sizeof(int), NULL); PG 222 main/rfc1867.c return zend_hash_exists(&PG(rfc1867_protected_variables), varname, strlen(varname)+1); PG 244 main/rfc1867.c int register_globals = PG(register_globals); PG 246 main/rfc1867.c PG(register_globals) = 0; PG 248 main/rfc1867.c PG(register_globals) = register_globals; PG 254 main/rfc1867.c int register_globals = PG(register_globals); PG 256 main/rfc1867.c PG(register_globals) = 0; PG 258 main/rfc1867.c PG(register_globals) = register_globals; PG 837 main/rfc1867.c zend_hash_init(&PG(rfc1867_protected_variables), 5, NULL, NULL, 0); PG 846 main/rfc1867.c PG(http_globals)[TRACK_VARS_FILES] = http_post_files; PG 974 main/rfc1867.c if (!PG(file_uploads)) { PG 1019 main/rfc1867.c fd = php_open_temporary_fd_ex(PG(upload_tmp_dir), "php", &temp_filename, 1 TSRMLS_CC); PG 1080 main/rfc1867.c if (PG(upload_max_filesize) > 0 && total_bytes > PG(upload_max_filesize)) { PG 1082 main/rfc1867.c sapi_module.sapi_error(E_NOTICE, "upload_max_filesize of %ld bytes exceeded - file [%s=%s] not saved", PG(upload_max_filesize), param, filename); PG 1212 main/rfc1867.c if (PG(magic_quotes_gpc)) { PG 1285 main/rfc1867.c magic_quotes_gpc = PG(magic_quotes_gpc); PG 1286 main/rfc1867.c PG(magic_quotes_gpc) = 0; PG 1301 main/rfc1867.c PG(magic_quotes_gpc) = magic_quotes_gpc; PG 118 main/safe_mode.c } else if (PG(safe_mode_gid) && gid == php_getgid()) { PG 171 main/safe_mode.c } else if (PG(safe_mode_gid) && dgid == php_getgid()) { PG 197 main/safe_mode.c if (PG(safe_mode_gid)) { PG 853 main/streams/plain_wrapper.c if (PG(safe_mode) &&(!php_checkuid(path, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 974 main/streams/plain_wrapper.c if ((options & USE_PATH) && PG(include_path) != NULL) { PG 975 main/streams/plain_wrapper.c return php_stream_fopen_with_path_rel(path, mode, PG(include_path), opened_path, options); PG 982 main/streams/plain_wrapper.c if ((options & ENFORCE_SAFE_MODE) && PG(safe_mode) && (!php_checkuid(path, mode, CHECKUID_CHECK_MODE_PARAM))) PG 995 main/streams/plain_wrapper.c if (PG(safe_mode) &&(!php_checkuid_ex(url, NULL, CHECKUID_CHECK_FILE_AND_DIR, (flags & PHP_STREAM_URL_STAT_QUIET) ? CHECKUID_NO_ERRORS : 0))) { PG 1021 main/streams/plain_wrapper.c if (PG(safe_mode) && !php_checkuid(url, NULL, CHECKUID_CHECK_FILE_AND_DIR)) { PG 1061 main/streams/plain_wrapper.c if (PG(safe_mode) && (!php_checkuid(url_from, NULL, CHECKUID_CHECK_FILE_AND_DIR) || PG 1211 main/streams/plain_wrapper.c if (PG(safe_mode) &&(!php_checkuid(url, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { PG 1288 main/streams/plain_wrapper.c if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) { PG 1312 main/streams/plain_wrapper.c if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) PG 1336 main/streams/plain_wrapper.c if (PG(safe_mode) && (!php_checkuid(trypath, mode, CHECKUID_CHECK_MODE_PARAM))) { PG 1345 main/streams/plain_wrapper.c if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) { PG 1393 main/streams/plain_wrapper.c if (PG(safe_mode)) { PG 142 main/streams/streams.c if (PG(html_errors)) { PG 1598 main/streams/streams.c (!PG(allow_url_fopen) || PG 1600 main/streams/streams.c PG(in_user_include)) && !PG(allow_url_include)))) { PG 232 main/streams/userspace.c old_in_user_include = PG(in_user_include); PG 235 main/streams/userspace.c !PG(allow_url_include)) { PG 236 main/streams/userspace.c PG(in_user_include) = 1; PG 274 main/streams/userspace.c PG(in_user_include) = old_in_user_include; PG 356 main/streams/userspace.c PG(in_user_include) = old_in_user_include; PG 270 sapi/apache/mod_php5.c } else if (PG(register_globals)) { PG 526 sapi/apache/mod_php5.c if (authorization && (!PG(safe_mode) || (PG(safe_mode) && !auth_type(r)))) { PG 953 sapi/apache/mod_php5.c if (PG(expose_php)) { PG 284 sapi/apache/php_apache.c if (env[i].key && (!PG(safe_mode) || (PG(safe_mode) && strncasecmp(env[i].key, "authorization", 13)))) { PG 363 sapi/apache/php_apache.c (PG(safe_mode) && PG 551 sapi/apache/php_apache.c if (PG(safe_mode)) { PG 386 sapi/apache2filter/sapi_apache2.c PG(during_request_startup) = 0; PG 411 sapi/apache2filter/sapi_apache2.c if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(f->r))) { PG 564 sapi/apache2filter/sapi_apache2.c if (PG(expose_php)) { PG 372 sapi/apache2handler/sapi_apache2.c if (PG(expose_php)) { PG 456 sapi/apache2handler/sapi_apache2.c if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) { PG 391 sapi/apache_hooks/mod_php5.c } else if (PG(register_globals)) { PG 1246 sapi/apache_hooks/mod_php5.c if (PG(expose_php)) { PG 1685 sapi/apache_hooks/php_apache.c if (env[i].key && (!PG(safe_mode) || (PG(safe_mode) && strncasecmp(env[i].key, "authorization", 13)))) { PG 1783 sapi/apache_hooks/php_apache.c apache_table_to_zval(((request_rec *)SG(server_context))->headers_in, PG(safe_mode), return_value); PG 82 sapi/apache_hooks/sapi_apache.c if(PG(register_globals)) { PG 86 sapi/apache_hooks/sapi_apache.c php_register_variable_ex("request", req, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); PG 90 sapi/apache_hooks/sapi_apache.c php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); PG 217 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 229 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 258 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 366 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 406 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 549 sapi/cgi/cgi_main.c if (PG(http_globals)[TRACK_VARS_ENV] && PG 550 sapi/cgi/cgi_main.c array_ptr != PG(http_globals)[TRACK_VARS_ENV] && PG 551 sapi/cgi/cgi_main.c Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY && PG 552 sapi/cgi/cgi_main.c zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0) { PG 554 sapi/cgi/cgi_main.c *array_ptr = *PG(http_globals)[TRACK_VARS_ENV]; PG 558 sapi/cgi/cgi_main.c } else if (PG(http_globals)[TRACK_VARS_SERVER] && PG 559 sapi/cgi/cgi_main.c array_ptr != PG(http_globals)[TRACK_VARS_SERVER] && PG 560 sapi/cgi/cgi_main.c Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY && PG 561 sapi/cgi/cgi_main.c zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0) { PG 563 sapi/cgi/cgi_main.c *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER]; PG 575 sapi/cgi/cgi_main.c int magic_quotes_gpc = PG(magic_quotes_gpc); PG 579 sapi/cgi/cgi_main.c int filter_arg = (array_ptr == PG(http_globals)[TRACK_VARS_ENV])?PARSE_ENV:PARSE_SERVER; PG 582 sapi/cgi/cgi_main.c PG(magic_quotes_gpc) = 0; PG 592 sapi/cgi/cgi_main.c PG(magic_quotes_gpc) = magic_quotes_gpc; PG 897 sapi/cgi/cgi_main.c if (!env_document_root && PG(doc_root)) { PG 898 sapi/cgi/cgi_main.c env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC); PG 1784 sapi/cgi/cgi_main.c int slen = strlen(PG(arg_separator).input); PG 1800 sapi/cgi/cgi_main.c strlcat(s, PG(arg_separator).input, len); PG 1922 sapi/cgi/cgi_main.c PG(during_request_startup) = 0; PG 1055 sapi/cli/php_cli.c PG(during_request_startup) = 0; PG 1070 sapi/cli/php_cli.c if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) { PG 1074 sapi/cli/php_cli.c prepend_file.filename = PG(auto_prepend_file); PG 411 sapi/nsapi/nsapi.c if (!PG(safe_mode) || strncasecmp(entry->param->name, "authorization", 13)) { PG 603 sapi/nsapi/nsapi.c if (!PG(safe_mode) || strncasecmp(entry->param->name, "authorization", 13)) { PG 952 sapi/nsapi/nsapi.c if (!PG(safe_mode)) php_handle_auth_data(pblock_findval("authorization", rq->headers) TSRMLS_CC); PG 222 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 264 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 358 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 400 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 51 sapi/webjames/webjames.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 52 sapi/webjames/webjames.c if (!PG(ignore_user_abort)) { PG 74 sapi/webjames/webjames.c PG(connection_status) = PHP_CONNECTION_ABORTED; PG 75 sapi/webjames/webjames.c if (!PG(ignore_user_abort)) {