Re: Problem in displaying truetypefonts
| From: | Mark Galbreath | Date: | Wed, 22 Feb 2006 21:05:45 +0000 |
| Subject: | Re: Problem in displaying truetypefonts | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17087@lists.php.net to get a copy of this message | ||
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 <rhelms@my-mail.ch> 22-Feb-06 16:02:03 PM >>>
replies-lists-php@listmail.innovate.net 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