|
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/
Navigation:
[Reply to this message]
|