imagecreatefromgif无效 [英] imagecreatefromgif not working
问题描述
我已经尝试使用函数上传图片
imagecreatefromgif,脚本尽可能简单以避免错过
拼写和类似的东西。我运行了以下代码行来
看看我的主机是否有正确的gd lib,并且它是正面的:
<?PHP的print_r(gd_info()); ?>
如果它不是服务器,我缺少什么?
这是我现在看起来的小脚本:
<?php
功能billede()
{
$ bill = imageCreateFromGIF(" hindenburg.gif");
返还$ bill;
}
billede();
?>
感谢您的帮助:)
Hi, I''ve tried to upload a picture using the function
imagecreatefromgif, with a script as simple as possible to avoid miss
spellings and stuff like that. I''ve ran the following line of code to
see if my host had the right gd lib, and it was positive:
<?PHP print_r(gd_info()); ?>
so if it''s not the server, what am i missing?
Here is my tiny script as it looks now:
<?php
function billede()
{
$bill = imageCreateFromGIF ("hindenburg.gif");
return $bill;
}
billede();
?>
Thanks for your help :)
推荐答案
bill = imageCreateFromGIF(" hindenburg .gif");
返回
bill = imageCreateFromGIF ("hindenburg.gif");
return
账单;
}
billede();
?>
感谢您的帮助:)
bill;
}
billede();
?>
Thanks for your help :)
什么是'错误信息?
" moxmormor" < mo ******* @gmail.comaécritdansle message de news:
11 ********************** @ i3g2000cwc.googlegroups.c om ...
What''s the error message ?
"moxmormor" <mo*******@gmail.coma écrit dans le message de news:
11**********************@i3g2000cwc.googlegroups.c om...
您好,我曾尝试使用函数上传图片
imagecreatefromgif,脚本尽可能简单以避免错过
拼写和类似的东西。我运行了以下代码行来
看看我的主机是否有正确的gd lib,并且它是正面的:
<?PHP的print_r(gd_info()); ?>
如果它不是服务器,我缺少什么?
这是我现在看起来的小脚本:
<?php
功能billede()
{
Hi, I''ve tried to upload a picture using the function
imagecreatefromgif, with a script as simple as possible to avoid miss
spellings and stuff like that. I''ve ran the following line of code to
see if my host had the right gd lib, and it was positive:
<?PHP print_r(gd_info()); ?>
so if it''s not the server, what am i missing?
Here is my tiny script as it looks now:
<?php
function billede()
{
这篇关于imagecreatefromgif无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!