CodeIgniter + dompdf + 中文 5月 28, 2024 CodeIgniter 使用 dompdf ,並且注意中文亂碼問題 專案 dompdf https://github.com/dompdf/dompdf 安裝 使用composer 安裝 dompdf 使用方法 參考專案網站 中文解決 https://blog.csdn.net/sdutphp/article/details/125570313 閱讀完整內容
如何檢查網站支援的TLS版本 4月 29, 2024 如何檢查網站支援的TLS版本 1. 使用 https://www.ssllabs.com/ssltest/ 檢查,其中 Protocols 就可以看到 2. 使用 nmap 指令 namp -p 443 --script ssl-enum-ciphers 192.168.7.35 參考資料 https://blog.darkthread.net/blog/rdp-ssl-cipher-vulnerability/ https://www.ssllabs.com/ssltest/ 閱讀完整內容
php 中使用 ldap_mod_replace 更新 LDAP 資料 3月 21, 2024 今天試著透過 ldap_mod_replace 更新 LDAP 中的資料 <?php $info [ 'mail' ] = ( empty ( $email )) ? array ( "" ) : array ( $email ); $info [ 'telephonenumber' ] = ( empty ( $line_token )) ? array () : array ( $line_token ); if ( ldap_mod_replace ( $ldap_conn , $rdn , $info )) ?> 發現 mail 欄位跟 telephonenumber 欄位對於空白資料給法不一樣,如上 閱讀完整內容