Do you have flush() being called?  You probably need to buffer the output of the script to keep the headers from being sent as soon as they are constructed.
 
mark

>>> Ruprecht Helms <[EMAIL PROTECTED]> 22-Feb-06 16:02:03 PM >>>
[EMAIL PROTECTED] wrote:
> the most common cause of this error is doing a redirect, using the
> header() function, but writing output to the browser before that function
> is called.
>
>  
Now Ive configured php like this:

'./configure' '--with-mysql' '--with-apxs=/www/bin/apxs' '--with-gd'
'--with-zlib' '--with-freetype-dir=/root/freetype-2.1.10'
'--enable-gd-native-ttf'


    gd

GD Support     enabled
GD Version     bundled (2.0.28 compatible)
FreeType Support     enabled
FreeType Linkage     with freetype
GIF Read Support     enabled
GIF Create Support     enabled
PNG Support     enabled
WBMP Support     enabled
XBM Support     enabled


Now I get the following error by testing this script:

*Warning*: Cannot modify header information - headers already sent by
(output started at /www/htdocs/moneyflexx/ttf_test.php:2) in
*/www/htdocs/moneyflexx/ttf_test.php* on line *3*
GIF87a

Reply via email to