pathinfo读取不到中文的问题
- PHP code
<!---ecms Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$pathinfo=pathinfo($file_name);$file_basename=$pathinfo["basename"];
如果文件名为中文只能读到.+扩展名,英文正常。
空间在国外。
另外我配置了php.ini
default_charset = “utf-8”
——解决方案——————–
看一下p本@文来源[email protected]搞@^&代*@码网(搞代gaodaima码
hp文件的编码是不是utf-8,在记事本的另存为对话框的下端有这个选项。
另外,文件名最好用英文:)