Reply to Re: Problem with simple image generation script

Your name:

Reply:


Posted by Ewoud Dronkert on 05/17/05 18:26

On 17 May 2005 08:15:16 -0700, bissatch@yahoo.co.uk wrote:
> Warning: Cannot modify header information - headers already sent

Yes, files have headers, and your html file already got some. So your
img generating script needs to be a separate file, for example:

<img src="makeimg.php?x=200&y=100" />

(you could use get variables as img parameters) and then in makeimg.php
the php code you already wrote, including the header() call.


--
Firefox Web Browser - Rediscover the web - http://getffox.com/
Thunderbird E-mail and Newsgroups - http://gettbird.com/

[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

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