php - New line before header() -


I am working with a custom Joomla script which generates an image from a blob in a database. However, when we take it from the Apache server to the IIS server, the script is breaking.

In the investigation, it seems that now there is a line break that is being added before the header function is run (when I comment on the image part, and "echo" an echo The exam is printed on line 2 of source code.

I have gone through the script repeatedly, and through the many files in the component, it may not be known that this new line Where is it coming from. Absolutely.

I have tried B_start () and many similar functions, but nothing seems to work.

I'm completely out of ideas, and I do not know where to change.

This page can be detected, any ideas on the next steps?

At the end of PHP files For the extra white space, the PHP file ends with a single return after the last ? & Gt; , inserting the same file in the file / file It is a common error sources in large PHP projects, despite the print. And will fulfill your symptoms are.

(To prevent this, some coding criteria have started with the previous ? their source files, which is completely legal PHP.) < / P>


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -