Q: How can I block phpinfo()?
A: Path: C:winnt(or windows)php.ini (NT and 2000) C:windows(95,98)
There is this in the php.ini configuration file Options
disable_functions = ; This directive allows you to disable certain
; functions for security reasons. It receives
; a comma separated list of function names.
; This directive is *NOT* affected by whether
; Safe Mode is turned on or off.
Change to
disble_functions = phpinfo
The above introduces how to block phpinfo?, including the content of phpinfo. I hope it will be helpful to friends who are interested in PHP tutorials.