Home  >  Article  >  Backend Development  >  php ImageJpeg 生成缩略图遇到的一个非常奇怪的有关问题

php ImageJpeg 生成缩略图遇到的一个非常奇怪的有关问题

WBOY
WBOYOriginal
2016-06-13 10:17:331053browse

php ImageJpeg 生成缩略图遇到的一个非常奇怪的问题
使用ImageJpeg 生成缩略图
如果是:
ImageJpeg ($newimg,'../../public/images/dish/224/1331787945.jpg');就可以生成,但是如果是:
$path ='../../public/images/dish/224/1331787945.jpg'; 
ImageJpeg ($newimg,$path);

却生成不了

在线等......

------解决方案--------------------
不应该,除非你写错了

有错误提示吗?

------解决方案--------------------
错误提示~~

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn