Welcome Guest, Not a member yet? Register   Sign In
Serving an Image with HTTP Headers; white space bug. [SOLVED]
#3

[eluser]Ian Jones[/eluser]
Thank you so much for your reply, yes I have tried that.

Sorry I should mention the solutions I've tried:

First and foremost, the path and access to the image files is verified and valid.

1) There are no whitespaces in this file
2) I have tried removing the php close tag '?>'
3) I've even looked at the default controller, no whitespaces there either
4) I turned off all logging in CodeIgniter, just incase something was echo'ing
5) I've tried using 'readfile()' instead of 'file_get_contents()'
6) I've tried using '$this->output->set_headers()' and '$this->output->set_output($data)'
7) I'm fairly sure its not a Byte Order Marker problem, because when I output the file contents to the browser I can't see the telltale characters.


Messages In This Thread
Serving an Image with HTTP Headers; white space bug. [SOLVED] - by El Forum - 01-13-2010, 03:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB