개발자료/Web(19)
-
[PHP] 랜덤 암호화 키, 랜덤 IV 생성
○ 16진수 형태의 암호화 키를 랜덤하게 생성하는 함수 function getRandomHexLoop($iSize=64) { $arrHex = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'); $strHex = ''; for($i=0; $i
2020.07.10 -
CKEditor 이미지 클래스 고정하기
CKEditor 을 사용하는 페이지에 아래 자바스크립트 코드 추가 CKEDITOR.on('instanceReady', function (ev) { ev.editor.dataProcessor.htmlFilter.addRules({ elements:{ $: function (element) { // check for the tag name if (element.name == 'img') { element.attributes.class = "img-fluid" // Put your class name here } // return element with class attribute return element; } } }); }); 참고 https://stackoverflow.com/questions/58863..
2020.07.01 -
[PHP] PhpSpreadsheet - Excel(엑셀) 제어 라이브러리
# Documentation https://phpspreadsheet.readthedocs.io/en/latest/ Welcome to PhpSpreadsheet's documentation - PhpSpreadsheet Documentation Welcome to PhpSpreadsheet's documentation PhpSpreadsheet is a library written in pure PHP and providing a set of classes that allow you to read from and to write to different spreadsheet file formats, like Excel and LibreOffice Calc. File formats supported php..
2020.02.25 -
[PHP] Excel 라이브러리 - PhpSpreadsheet
# Document https://phpspreadsheet.readthedocs.io/en/latest/topics/reading-files/
2020.02.21 -
라디오버튼(RadioButton)
# 선택된 라디오버튼 체크 try { radio_group = document.getElementsByName("radio_group"); for(i=0; i
2020.02.20 -
[Javascript] Form에 포함된 Input 열거하기
## Form에 포함된 Input 열거하기 for(i=0; i
2018.02.08