时间:2021-07-01 10:21:17 帮助过:12人阅读
session_start(); if(isset($_SESSION)) { echo "Started"; } else { echo "Not Started"; }
session_start(); $status = session_status(); if($status == PHP_SESSION_DISABLED) { echo "Session is Disabled"; } else if($status == PHP_SESSION_NONE ) { echo "Session Enabled but No Session values Created"; } else { echo "Session Enabled and Session values Created"; }
1 楼 lijichao 2012-02-20
2 楼 mailangel123 2012-02-21
这个可以有。3 楼 mailangel123 2012-02-21
[color=red][/color][/align][/size][align=center][/align][align=right][size=x-small][align=left][/align]