Index: phpdoc/en/features/safe-mode.xml diff -u phpdoc/en/features/safe-mode.xml:1.6 phpdoc/en/features/safe-mode.xml:1.7 --- phpdoc/en/features/safe-mode.xml:1.6 Fri Jul 13 15:03:05 2001 +++ phpdoc/en/features/safe-mode.xml Tue Jul 31 18:28:29 2001 @@ -1,4 +1,4 @@ - + Safe mode @@ -107,20 +107,24 @@ &sm.uidcheck; - imap_thread - ?? + ifx_* + sql_safe_mode restrictions, (!= safe-mode) + - ifxus_tell_slob - ?? + ingres_* + sql_safe_mode restrictions, (!= safe-mode) + - muscat_close - ?? + mysql_* + sql_safe_mode restrictions, (!= safe-mode) + pg_loimport &sm.uidcheck; + posix_mkfifo @@ -128,27 +132,64 @@ putenv - ?? + Obeys the safe_mode_protected_env_vars and + safe_mode_allowed_env_vars ini-directives. See also the documentation + on putenv + move_uploaded_file - &sm.uidcheck; + &sm.uidcheck; + + + chdir &sm.uidcheck.dir; dl - ?? + &sm.disabled; - shell_exec - ?? + backtick operator + &sm.disabled; + + + shell_exec (functional equivalent + of backticks) + &sm.disabled; + + + exec + You can only execute executables within the safe_mode_exec_dir. + For practical reasons it's currently not allowed to have + .. components in the path to the executable. + + + system + You can only execute executables within the safe_mode_exec_dir. + For practical reasons it's currently not allowed to have + .. components in the path to the executable. + + + passthru + You can only execute executables within the safe_mode_exec_dir. + For practical reasons it's currently not allowed to have + .. components in the path to the executable. popen - &sm.uidcheck.dir; + You can only execute executables within the safe_mode_exec_dir. + For practical reasons it's currently not allowed to have + .. components in the path to the executable. + mkdir @@ -160,15 +201,17 @@ rename - &sm.uidcheck; + &sm.uidcheck; &sm.uidcheck.dir; unlink - &sm.uidcheck; + &sm.uidcheck; &sm.uidcheck.dir; copy - &sm.uidcheck; + &sm.uidcheck; &sm.uidcheck.dir; (on + source and + target) chgrp @@ -180,48 +223,29 @@ chmod - &sm.uidcheck; + &sm.uidcheck; In addition, you cannot + set the SUID, SGID and sticky bits touch - &sm.uidcheck; + &sm.uidcheck; &sm.uidcheck.dir; symlink - &sm.uidcheck; + &sm.uidcheck; &sm.uidcheck.dir; (note: only the target is + checked) link - &sm.uidcheck; - - - ob_gzhandler - &sm.uidcheck; + &sm.uidcheck; &sm.uidcheck.dir; (note: only the target is + checked) getallheaders - ?? - - - exec - ?? - - - system - ?? - - - passthru - ?? - - - mail - ?? - - - backtick operator - ?? + In safe-mode, headers beginning with 'authorization' + (case-insensitive) + will not be returned. Warning: this is broken with the aol-server + implementation of getallheaders! Any function that uses Index: phpdoc/en/functions/cybermut.xml diff -u phpdoc/en/functions/cybermut.xml:1.4 phpdoc/en/functions/cybermut.xml:1.5 --- phpdoc/en/functions/cybermut.xml:1.4 Tue Jul 24 05:22:54 2001 +++ phpdoc/en/functions/cybermut.xml Tue Jul 31 18:28:30 2001 @@ -40,7 +40,7 @@ - + cybermut_creerformulairecm Generate HTML form of request for payment @@ -104,7 +104,7 @@ - + cybermut_testmac @@ -177,7 +177,7 @@ - + cybermut_creerreponsecm Index: phpdoc/en/functions/dbase.xml diff -u phpdoc/en/functions/dbase.xml:1.6 phpdoc/en/functions/dbase.xml:1.7 --- phpdoc/en/functions/dbase.xml:1.6 Sat Jul 7 14:42:24 2001 +++ phpdoc/en/functions/dbase.xml Tue Jul 31 18:28:30 2001 @@ -147,6 +147,7 @@ Returns a dbase_identifier for the opened database, or &false; if the database couldn't be opened. + ¬e.sm.uidcheck; Index: phpdoc/en/functions/dbm.xml diff -u phpdoc/en/functions/dbm.xml:1.7 phpdoc/en/functions/dbm.xml:1.8 --- phpdoc/en/functions/dbm.xml:1.7 Sat Jul 7 14:42:24 2001 +++ phpdoc/en/functions/dbm.xml Tue Jul 31 18:28:30 2001 @@ -67,6 +67,7 @@ information on DBM files, see your Unix man pages, or obtain GNU's GDBM. + ¬e.sm.uidcheck; Index: phpdoc/en/functions/filepro.xml diff -u phpdoc/en/functions/filepro.xml:1.6 phpdoc/en/functions/filepro.xml:1.7 --- phpdoc/en/functions/filepro.xml:1.6 Thu Mar 22 14:19:35 2001 +++ phpdoc/en/functions/filepro.xml Tue Jul 31 18:28:30 2001 @@ -29,6 +29,7 @@ No locking is done, so you should avoid modifying your filePro database while it may be opened in PHP. + ¬e.sm.uidcheck; @@ -102,6 +103,7 @@ Returns the data from the specified location in the database. + ¬e.sm.uidcheck; @@ -141,6 +143,7 @@ Returns the number of rows in the opened filePro database. + ¬e.sm.uidcheck; See also filepro. Index: phpdoc/en/functions/filesystem.xml diff -u phpdoc/en/functions/filesystem.xml:1.77 phpdoc/en/functions/filesystem.xml:1.78 --- phpdoc/en/functions/filesystem.xml:1.77 Sun Jul 8 09:37:39 2001 +++ phpdoc/en/functions/filesystem.xml Tue Jul 31 18:28:30 2001 @@ -2136,6 +2136,8 @@ system. + ¬e.sm.uidcheck; + See also is_uploaded_file, and the section Handling file uploads Index: phpdoc/en/functions/info.xml diff -u phpdoc/en/functions/info.xml:1.57 phpdoc/en/functions/info.xml:1.58 --- phpdoc/en/functions/info.xml:1.57 Thu Jul 19 05:20:23 2001 +++ phpdoc/en/functions/info.xml Tue Jul 31 18:28:30 2001 @@ -1332,6 +1332,11 @@ These variables will be protected even if safe_mode_allowed_env_vars is set to allow to change them. + + + These directives have only effect when safe-mode itself is enabled! + + Setting an Environment Variable Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.37 phpdoc/en/functions/pgsql.xml:1.38 --- phpdoc/en/functions/pgsql.xml:1.37 Sat Jul 7 17:57:30 2001 +++ phpdoc/en/functions/pgsql.xml Tue Jul 31 18:28:30 2001 @@ -907,6 +907,7 @@ object otherwise. Remember that handling large objects in PostgreSQL must happen inside a transaction. + ¬e.sm.uidcheck; Index: phpdoc/en/functions/posix.xml diff -u phpdoc/en/functions/posix.xml:1.11 phpdoc/en/functions/posix.xml:1.12 --- phpdoc/en/functions/posix.xml:1.11 Sat Jul 7 14:42:37 2001 +++ phpdoc/en/functions/posix.xml Tue Jul 31 18:28:30 2001 @@ -578,6 +578,7 @@ Needs to be written ASAP. + ¬e.sm.uidcheck.dir;