Jump to content

Extra Chars in output


sjsteve33171

Recommended Posts

Hi i've recently moved hosting servers as I had severe lag issues with my shared hosting. Since i've brought a dedicated linux server with apache and php. Since the move i get extra chars with the following code

 

<?PHP
define( "MESSAGE", "Testing Testing 123" );

if(isset($_GET['message']))
{
die(MESSAGE);
}
?>

 

My application SHOULD receive back "Testing Testing 123" like it used to with my old shared hosting. Instead now it receives the following:

 

2f
Testing Testing 123
0

 

And i cannot figure this out for the life of me. I'm expecting something silly to be the cause but would appreciate some guidance on this.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/209158-extra-chars-in-output/
Share on other sites

Incase it'll help my header:

 

HTTP/1.1 200 OK
Date: Wed, 28 Jul 2010 21:57:50 GMT
Server: Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

13
Testing Testing 123
0

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.