php专区

 首页 > php专区 > PHP应用 > php函数大全 > 如何屏蔽掉 phpinfo() 函数

如何屏蔽掉 phpinfo() 函数

分享到:
【字体:
导读:
          在 php ini 配置文件里面有这个选项disable_functions = ; This directive allows you to disable certain; functions for security reasons It receives; a comma separated list of

  在 php.ini 配置文件里面有这个选项
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.
写成
disble_functions = phpinfo
分享到:
PHP中的正规表达式(二)
  确定重复出现 到现在为止,你已经知道如何去匹配一个字母或数字,但更多的情况下,可能要匹配一个单词或一组数字。一个单词有若干个字母组成,一组数字有若干个单数组成。跟在字符或字符簇后面的花括号({})用来确定前面的内容的重复出现的次数。 字符簇 含义 ^[a-zA-Z_]$ 所有的字母和下划线 ^[[:alpha:]]{3}$ 所有...
使用php自带的多字节处理函数来处理中文,...
  echo " __________________________ "; $string="242432反对感是456,,犯得上广泛大使馆地方7890abc"; $mb_strlen=mb_strlen($string); $len=20; echo $string." "; echo "总长为:".($mb_strlen+1)." "; echo "截取数:".$len." "; for($i=1;$i$len){ echo $i." → ".mb_substr($string,$i)."… "; cont...
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……