Reply to Re: [PHP] Problems displaying images with PHP-GD

Your name:

Reply:


Posted by Richard Lynch on 01/31/05 05:06

Ian Johnson wrote:
> I am trying to use GD to create and manipulate images but the
> statement:
>
> header ("Content-type: image/jpg");
>
> generates the error message:
>
> The image "http://localhost/gdtst2.php" cannot be displayed, because
> it contains errors.

Wild Guess:

You have a blank line in your file before the first <?php or after the
last ?> -- So even though it looks like a kosher JPEG, it's not.

Use "View Source" in your browser on the JPEG data to see what's there.

--
Like Music?
http://l-i-e.com/artists.htm

[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

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