Random character output with php in safari on iphone5
I'm not sure if this a server configuration issue, or what the case might be.
If I simply use
PHP Code:
<?php echo "hello!" ?>
Safari on an iphone5 outputs the following...hello!0
With other longer pages it displays other various random characters in the header/body/footer.
Using
PHP Code:
<?php header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); ?>
relieves this odd output, but I shouldn't have to add this in every page that's on this particular linux server.
Any suggestions on what might be causing this? Page output seems to be ok on desktop PC and Mac in multiple browsers.
Thank you