Warning: exec() has been disabled for security reasons

前端 未结 2 1170
执念已碎
执念已碎 2020-12-12 01:05

I get this error on my page:

Warning: exec() has been disabled for security reasons in /home/a2297145/public_html/android/index.php on line 2036

<
2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 01:23

    The error means exactly what it says. Whoever set up your server (probably your webhost) has disabled the use of the exec function. In other words, you can't use exec.

    You could probably work around it by using glob to get the file of files, or filesize to get the size (in bytes) of the file.

提交回复
热议问题