Vidyalelo
PHP · Q1

Website Security

Programming · PHP · question 1

Q1

Which one of the following statements should be used to disable just the fopen(), and file() functions?

A.
disable_functions = fopen(), file()
B.
disable_functions = fopen, file
Answer
C.
functions_disable = fopen(), file()
D.
functions_disable = fopen, file

Answer: Option B

Solution

Answer: Option B
Solution:
You can set disable_functions equal to a comma-delimited list of function names that you want to disable.