PHP Line Break

From: Ken (SHIELDSIT)21 Nov 2014 03:32
To: ALL1 of 18
Can anyone tell me why PHP isn't listening to this line break?  I'm about to fucking show it how I deal with shit software!  Fucking simple shit that gets ignorant is not cool!

Here is the code on my server.
Code: 
<?php
$current_reading = @exec('uptime');
preg_match("/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/", $current_reading, $averages); 
$uptime = explode(' up ', $current_reading);
$uptime = explode(',', $uptime[1]);
$uptime = $uptime[0].', ' . $uptime[1];
$data = "Server Load Averages $averages[1], $averages[2], $averages[3]\n";
$data .= "Server Uptime $uptime";
echo $data; 
?>
EDITED: 21 Nov 2014 03:38 by SHIELDSIT
From: Lucy (X3N0PH0N)21 Nov 2014 04:33
To: Ken (SHIELDSIT) 2 of 18
The default content type is html so either replace the \n with a <br> or send a text/plain header.
From: Ken (SHIELDSIT)21 Nov 2014 04:44
To: Lucy (X3N0PH0N) 3 of 18
I swear I tried that without success, but fuck me if it didn't work this time!

(hug)

Thanks buddy!
From: Lucy (X3N0PH0N)21 Nov 2014 04:52
To: Ken (SHIELDSIT) 4 of 18
<3
From: 99% of gargoyles look like (MR_BASTARD)21 Nov 2014 06:50
To: Ken (SHIELDSIT) 5 of 18
That's what we're here for! There's no 'I' in 'team'.
From: Ken (SHIELDSIT)21 Nov 2014 07:31
To: 99% of gargoyles look like (MR_BASTARD) 6 of 18
That's why I love you guys!

And I was a good boy this time.  I tried really hard to figure it out before posting so that I didn't have another aborted post on my hands!
From: Chris (CHRISSS)21 Nov 2014 08:42
To: 99% of gargoyles look like (MR_BASTARD) 7 of 18
But there is in prostitute.
From: 99% of gargoyles look like (MR_BASTARD)21 Nov 2014 09:12
To: Chris (CHRISSS) 8 of 18
You're in a prostitute? Does your wife know?

Incidentally, according the BBC, 11% of UK men pay for sex. the rest please themselves.
From: Chris (CHRISSS)21 Nov 2014 09:22
To: 99% of gargoyles look like (MR_BASTARD) 9 of 18
Yup, right now. Do you think I should tell her?
From: 99% of gargoyles look like (MR_BASTARD)21 Nov 2014 09:47
To: Chris (CHRISSS) 10 of 18
Yes. Honesty is always the best policy.
From: koswix21 Nov 2014 12:03
To: 99% of gargoyles look like (MR_BASTARD) 11 of 18
But there is a u in cunt.
From: Manthorp21 Nov 2014 15:05
To: Chris (CHRISSS) 12 of 18
Quote: 
Yup, right now. Do you think I should tell her?

Your wife, or the prostitute?  The prostitute is probably aware that you are.
From: Chris (CHRISSS)21 Nov 2014 15:16
To: Manthorp 13 of 18
You would think so but she doesn't seem to have noticed yet. Am I doing something wrong?
From: Peter (BOUGHTONP)21 Nov 2014 17:08
To: Chris (CHRISSS) 14 of 18
Try using a living one.
From: Chris (CHRISSS)21 Nov 2014 18:00
To: Peter (BOUGHTONP) 15 of 18
I suppose that could make a difference. I'll give it a go next time.
From: graphitone22 Nov 2014 22:52
To: Peter (BOUGHTONP) 16 of 18
Your mind works in ways that are strange and alien to me.

We keep a few around the garden to keep the slugs and snails in check, but I wouldn't touch a dead one.
From: Peter (BOUGHTONP)23 Nov 2014 00:35
To: graphitone 17 of 18
Don't feel bad, we can't all be insanely brilliant geniuses.
From: graphitone23 Nov 2014 22:16
To: Peter (BOUGHTONP) 18 of 18
I'll leave the insanity to you. :J

Oh and the whores. You're welcome to their pestilence.