Re: Re[2]: [PHP] Problems creating images
| From: | Richard Lynch | Date: | Fri, 14 Apr 2006 00:15:52 +0000 |
| Subject: | Re: Re[2]: [PHP] Problems creating images | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233964@lists.php.net to get a copy of this message | ||
On Thu, April 6, 2006 5:24 pm, Tom Rogers wrote:
> put
>
> error_reporting( E_ALL);
>
> at the top of the script and see if any error messages show up.
> The fact that the mime type is text seems to indicate some output has
> gone to
> the client before your header call. That could be any white space
> outside of
> <?php......?> and could be in an include file or prepend file as well.
Actually, if it's an auto_prepend file, you'll need to change the
reporting level in .htaccess, or it's too late by the time your script
starts executing, no?
php_value error_reporting 2047
Note: I don't think E_ALL is kosher in .htaccess, so I used the value
of E_ALL my PHP reports from:
php -r 'echo E_ALL, "\n";'
I think E_ALL changed value at some point, though...
Maybe you can have your client put up a <?php echo E_ALL;?> page.
--
Like Music?
http://l-i-e.com/artists.htm