Loading Images from MySQL db to view in CI

#21
[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)

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


Messages In This Thread
Loading Images from MySQL db to view in CI - by El Forum - 10-28-2009, 11:15 PM
Loading Images from MySQL db to view in CI - by El Forum - 10-29-2009, 12:52 AM
Loading Images from MySQL db to view in CI - by El Forum - 10-29-2009, 07:32 AM
Loading Images from MySQL db to view in CI - by El Forum - 12-13-2010, 12:17 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-13-2010, 12:57 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-13-2010, 02:02 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-13-2010, 03:47 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-13-2010, 04:34 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-14-2010, 12:12 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-14-2010, 12:59 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-14-2010, 05:23 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-14-2010, 08:55 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 05:30 AM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 05:34 AM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 06:12 AM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 10:13 AM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 12:17 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 01:07 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 01:28 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 03:24 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 04:45 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-15-2010, 06:06 PM
Loading Images from MySQL db to view in CI - by El Forum - 12-17-2010, 05:50 AM
Loading Images from MySQL db to view in CI - by El Forum - 12-17-2010, 04:15 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.