摘要:
function checkBOM ($filename) { $contents = file_get_contents($filename); $charset[1] = substr($contents, 0, 1); $charset[2] = substr($contents, 1, 1); $charset[3] = substr($contents, 2, 1); if (ord($charset[1]) == 239 && ord($charset[2]) == 187 && ord($charset[3]) == 191... 阅读全文
posted @ 2013-05-02 16:23
Caly pc
阅读(306)
评论(0)
推荐(0)
浙公网安备 33010602011771号