12-15-2010, 04:45 PM
[eluser]GeoXeo[/eluser]
Well done !
I have another interpretation though ...
I think that with PHP, each character outside a code block is sent to the output.
So when you try to send the bytes of the image, a space has already been sent and the http headers have already been sent too.
When you output text, it may seem to work: you see the page you expected.
I say 'seem to work' because there are some php warning messages that you seem to miss (check error_reporting() in index.php)
So I would say that there is likely nothing wrong with CI, it's just PHP stuff
Well done !
I have another interpretation though ...
I think that with PHP, each character outside a code block is sent to the output.
So when you try to send the bytes of the image, a space has already been sent and the http headers have already been sent too.
When you output text, it may seem to work: you see the page you expected.
I say 'seem to work' because there are some php warning messages that you seem to miss (check error_reporting() in index.php)
Code:
Message: Cannot modify header information - headers already sent by (output started at C:\wamp\www\ci.geoxeo\system\application\config\database.php:1)
So I would say that there is likely nothing wrong with CI, it's just PHP stuff