|
Posted by Rik on 08/10/06 21:07
moxmormor wrote:
>> What are you expecting the script to do? It doesn't actually do
>> anything. It just open the gif file and doesn't produce any output.
>
> OK then that's why. I just expected the return statement did the job.
> How should i then show the image once I've opened it?
imagegif(), imagejpeg(), imagepng() etc..
imagecreatfrom..() creates an image identifier, not an image.
But why create an image in memory, and then return the same image? Unless
you do something in between, a link to the file er even readfile() is more
efficiλnt.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|