Word does not open Safe Mode function collection disabled when PHP is turned on safe mode

Source: Internet
Author: User
Copy CodeThe code is as follows:


Ini_set ("Safe_mode", true);
?>


Table 42-2. Safe Mode restriction functions

Name of function Limit
Dbmopen () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
Dbase_open () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
Filepro () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
Filepro_rowcount () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
Filepro_retrieve () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
Ifx_* Sql_safe_mode limit, (! = Safe Mode)
Ingres_* Sql_safe_mode limit, (! = Safe Mode)
Mysql_* Sql_safe_mode limit, (! = Safe Mode)
Pg_loimport () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
Posix_mkfifo () Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
Putenv () Follow the Safe_mode_protected_env_vars and Safe_mode_allowed_env_vars options for INI settings. Please refer to the documentation for the putenv () function.
Move_uploaded_file () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
ChDir () Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
DL () This function is disabled in safe mode.
Backtick operator This function is disabled in safe mode.
Shell_exec () (functionally the same as the Backticks function) This function is disabled in safe mode.
EXEC () The operation can only be performed under the directory set by the Safe_mode_exec_dir. For some reason, you cannot currently use the path of an executable object ... Escapeshellcmd () will be applied to the parameters of this function.
System () The operation can only be performed under the directory set by the Safe_mode_exec_dir. For some reason, you cannot currently use the path of an executable object ... Escapeshellcmd () will be applied to the parameters of this function.
PassThru () The operation can only be performed under the directory set by the Safe_mode_exec_dir. For some reason, you cannot currently use the path of an executable object ... Escapeshellcmd () will be applied to the parameters of this function.
Popen () The operation can only be performed under the directory set by the Safe_mode_exec_dir. For some reason, you cannot currently use the path of an executable object ... Escapeshellcmd () will be applied to the parameters of this function.
fopen () Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
mkdir () Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
RmDir () Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
Rename () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
Unlink () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
Copy () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed. (on source and target )
CHGRP () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
Chown () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed.
chmod () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Also, you cannot set SUID, SGID, and sticky bits
Touch () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed.
Symlink () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed. (Note: test target only)
Link () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed. (Note: test target only)
Apache_request_headers () In safe mode, headers that start with "authorization" (case-sensitive) will not be returned.
Header () In safe mode, if www-authenticateis set, the UID of the current script is added to the realm portion of the header.
Php_auth variable In safe mode, variables PHP_AUTH_USER , PHP_AUTH_PW and PHP_AUTH_TYPE are $_SERVER not available in. However, you can still use it REMOTE_USER to get the user name. (Note: PHP 4.3.0 only works later)
Highlight_file (), Show_source () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed. (Note that only valid after 4.2.1 version)
Parse_ini_file () Checks whether the file or directory being manipulated has the same UID (owner) as the script being executed. Checks whether the directory being manipulated has the same UID (owner) as the script being executed. (Note that only valid after 4.2.1 version)
Set_time_limit () does not work in safe mode.
Max_execution_time does not work in safe mode.
Mail () In Safe mode, the fifth parameter is masked. (note, only from PHP 4.2.3 affected)
Any function that uses php4/main/fopen_wrappers.c ??

The above describes the word can not open Safe mode PHP disabled after the set of functions, including the Word does not open the security mode of the content, I hope that the PHP tutorial interested friends helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.