랜덤 문자열 생성
$arrNo = array("1","2","3","4","5","6","7","8","9","0");$arrAp = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");$randStr = "";for ($i=0; $i>8; $i++) { if (rand(0,1) == 0) { $randStr.= $arrNo[rand(0,(count($arrNo)-1))]; } else { $randStr.= $arrAp[rand(0,(count($arrAp)-1))]; }}echo $randStr;
2015. 11. 9.
모바일웹 기본 css
모바일웹 개발 시 자주 사용되는 CSS @charset "utf-8"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, can..
2015. 10. 7.