Reply to Re: imagecreatefromgif not working

Your name:

Reply:


Posted by moxmormor on 08/10/06 20:39

Bob Bedford wrote:
> Try this:
>
> <?php
> function billede($filename){
> if(!file_exists($filename)){
> $bill = imageCreateFromGIF($filename);
> return $bill;
> }else
> echo "file already existent, cannot create new file<br>";
> }
> $filename = $_SERVER['DOCUMENT_ROOT'].'/hindenburg.gif'; //this avoid a lot
> of problem. Typing manually the file will get you into trouble later...
> echo $filename.'<br>';
> $img = billede($filename);
> /*if(file_exists($filename))
> echo 'existant'; //should always be called has it would be created if it
> wasn't existent before or already exists.
> else
> echo 'nonexistant';*/
> ?>
>
> >Thank you for your effort :)
>
> np.
>
> try this code and let me know.
>
> Bob


what i wanted to was to show the current gif image on my site, using
php. I think I might have misunderstood the consequences of the
imageCreateFromGIF function.
But thanks anyway:)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация