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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.