NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP GD problems

Jeff Knight jeff.knight at gmail.com
Thu Jul 13 11:07:27 EDT 2006


The "headers are already sent" because at some point, something in the
script is sending output. Try running the script  after commenting out
the header() and imagepng() lines and see if that provides a more
useful error.

I'm really not sure where this notion of "line 11" came from,
something in line 1 is sending output, which supports Sawczynec's bad
character theory.


On 7/13/06, Andrew Kamm <kamm at andrewkamm.com> wrote:
>
>
> > What is at line 11 of
> > /home/.../public_html/test.php?  How are you
> > invoking this script?  The "funny" characters are
> > the PNG image being displayed as ASCII.
> >
> > Ken
>
>
> There's nothing at line 11 -- it's only 9 lines long and there's no white
> space or new lines after the closing ?>. Right now I'm calling it just by
> typing the URL to the script into a browser. In the end, I'd like to call it
> via an <img src="..." /> tag.
>
> thanks-
>
> --
> Andrew Kamm
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> New York PHP Conference and Expo 2006
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
>
>



More information about the talk mailing list