[php] select while 1,2 차열 배열형식 $file["count"] = 0; $sql = " select * from $[board_file_table] where bo_table = '$bo_table' and wr_id = '$wr_id' order by bf_no "; $result = sql_query($sql); while ($row = sql_fetch_array($result)) { $no = $row[bf_no]; $file[$no][href] = "./download.php?bo_table=$bo_table&wr_id=$wr_id&no=$no" . $qstr; $file[$no][download] = $row[bf_download]; // 4.00.11 - 파일 path 추가 $file[$no][path] = "$g4[path].. 더보기 [javascript] css 와 js 압축 서버 성능 향상 http://refresh-sf.com/yui/ 이런툴처럼 css 또는 js 파일은 압축해서 올리면 서버 성능에 좋습니다.. 더보기 [php] 자신의 아이피로 걸러내기 - asp request.ServerVariables("remote_addr") ASP 에서 request.ServerVariables("remote_addr") 의 기능은 PHP 에서 $_SERVER["REMOTE_ADDR"] 로 대치하여 사용할수 있다. if($_SERVER["REMOTE_ADDR"] == "211.xxx.xxx.xxx"){ } 더보기 이전 1 ··· 193 194 195 196 197 198 199 ··· 253 다음