$font_file 路经大体为 盘符:\appserv\www 系统错误的把反斜杠 当作转义用了 导致$font_file也就不是一个路径了 所以Imagettftext()函数总是返回错误
加上$font_file= str_replace("\\","/",$font_file);即可解决
$font_file 路经大体为 盘符:\appserv\www 系统错误的把反斜杠 当作转义用了 导致$font_file也就不是一个路径了 所以Imagettftext()函数总是返回错误
加上$font_file= str_replace("\\","/",$font_file);即可解决
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:http://www.heiqu.com/ec23218133b1048f0439cd63c0579d8d.html