【发布时间】:2017-08-01 03:21:00
【问题描述】:
我在两台不同的租用服务器上有以下代码的两份副本:
<?php
$my_img = imagecreatefrompng("img.png");
header( "Content-type: image/png" );
imagepng( $my_img );
imagecolordeallocate( $text_color );
?>
当我尝试运行一份副本时,标题中出现错误。当我运行另一个副本时,它工作正常。什么可能导致问题?
【问题讨论】:
-
如有必要,我可以添加有关服务器的更多详细信息