[code:1]
if ( isset($_POST['botton1']) ) {
// do your stuff here such as test php's state...
phpinfo();
...
}
[/code:1]
[code:1]业务逻辑层
/**
* if ccat click "测试PHP", then...
*/
if ( isset($_POST['botton1']) ) {
// do your stuff here such as test php's state...
phpinfo();
...
}
[/code:1]