Hello guys I have one question ...
- Is it possible to run PHP with the
include()
Function if disabled? - Is possible that the include()
Function
you can not find a file that 开发者_运维百科really exists?
Thank you
I don't think so, no -
include
is a language construct and as far as I know, can't be disabled.Yes, if you don't have the proper rights to read the file.
You should probably add some more information about your specific situation to get more specific help.
- No, it's not a function, it's a language construct
- No
include
- Why would you want to disable includes?
- Yes it is, if you don't specify the path correctly (in relation to the current php file).
include
is usually not disabled. You almost always need and include, and it is a good idea to use require
or require_once
if the file you want to use is required for your code to run
精彩评论