Steve 2012-03-12 22:59:22
I’m using php 5 zend and oracle.
I get a picture into the page using:
in my dopic.php , which incidentally took several days to get working.
but i find even if i add “include(‘SitePHP/buildXHTML.php’); ” at the start
of the code , then the routine stops working. ( no errors , but i suspect
the content is messed up, even if the include file is empty)
Jeremy 2012-03-12 22:59:28
Is there ANY whitespace at all between the ?> tag and the end of the
include file? If so, it will get output and screw up the image data.
Make sure there is no whitespace anywhere outside of . Try
removing the header() directive, and commenting out the echo command
that spits out the image data. If you load the script in your browser
and see anything at all besides a completely blank document, something
is adding extra c*** to the output.
Steve 2012-03-13 01:44:03
I thought that c*** only got into the output if I wrote it out, using echo
or print .
so are you saying that :
Is enough to trigger the problem?
If so how the h*** do you format your code nicely?
Geoff berrow 2012-03-13 01:44:05
No. White space /outside/ the
Geoff Berrow 0110001001101100010000000110