You are here: Re: gd2 « PHP Language « IT news, forums, messages
Re: gd2

Posted by Harris Kosmidhs on 12/18/06 10:06

Harris Kosmidhs wrote:
> Hello.
> I want to use a captcha system for form validation.
>
> The image created isn't displayd but rather says it contains errors.
> Searching the code I found out that while ImageCreate works fine
> imagecolorallocate doesn't
>
> $image = ImageCreate($this -> width, $this -> height) or die("Cannot
> Initialize new GD image stream");
> $background_color = imagecolorallocate($image, 1, 2, 22) or die("Error
> Image Allocate1");
>
> the second func dies. phpinfo shown gd IS installed. Any help?
>
> PS:($this->width,height are set correctly)

sorry ignore it.

 

Navigation:

[Reply to this 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

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