某个服务没开启需做两件事,smb为例
摘要:service smb startnetstat -tpln Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 3796/smbd
阅读全文
获取角色前50名总积分sql语句
摘要:$sql2="select sum(fightvalue) AS total_fight from (SELECT fightvalue from {$table} WHERE pfrom_id={$pfrom_id} and server_id={$server_id} and lastlogin
阅读全文
组装数组一
摘要:1. Array( [pfrom_id_str] => 1,1,1, [pf_str] => yy,yy,yy, [server_id_str] => 9503,9502,9501,) 2. Array( [0] => Array ( [pfrom_id] => 1 [pf] => yy [serv
阅读全文
js图表插件 highcharts
摘要:highcharts例子和详细教程,里面有每个例子的使用方法。 http://www.highcharts.com/demo/
阅读全文
form表单向php传递多维数组
摘要:<?php $i=0; foreach($cate_arr as $k=>$v){ if(empty($v['item'])){ continue; } $cid=$v['cate_id']; ?> <table class="table_3"> <tr> <td colspan="6"> <?=$
阅读全文