原创 PHP提示Notice: Undefined variable 或者Undefined index的解決辦法
在代碼中直接使用 error_reporting(E_ALL & ~E_NOTICE); 直接解決問題。
原创 centos防火牆常用命令
systemctl start firewalld #開啓防火牆 systemctl stop firewalld#關閉防火牆 systemctl status firewalld#查看防火牆的狀態 firewall-cmd --
在代碼中直接使用 error_reporting(E_ALL & ~E_NOTICE); 直接解決問題。
systemctl start firewalld #開啓防火牆 systemctl stop firewalld#關閉防火牆 systemctl status firewalld#查看防火牆的狀態 firewall-cmd --