CodingPHP Line Break

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Ken (SHIELDSIT)  
 To:  ALL
41276.1 
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; 
?>
------------------------------------------------------------------------
If you don't like donut, then leave it alone. Nobody force you to eat it.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Ken (SHIELDSIT)     
41276.2 In reply to 41276.1 
The default content type is html so either replace the \n with a <br> or send a text/plain header.
0/0
 Reply   Quote More 

 From:  Ken (SHIELDSIT)  
 To:  Drew (X3N0PH0N)     
41276.3 In reply to 41276.2 
I swear I tried that without success, but fuck me if it didn't work this time!

(hug)

Thanks buddy!
------------------------------------------------------------------------
If you don't like donut, then leave it alone. Nobody force you to eat it.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Ken (SHIELDSIT)     
41276.4 In reply to 41276.3 
<3
0/0
 Reply   Quote More 

 From:  99% of gargoyles look like (MR_BASTARD)  
 To:  Ken (SHIELDSIT)     
41276.5 In reply to 41276.3 
That's what we're here for! There's no 'I' in 'team'.

truffy.gifbastard by name
bastard by nature

0/0
 Reply   Quote More 

 From:  Ken (SHIELDSIT)  
 To:  99% of gargoyles look like (MR_BASTARD)     
41276.6 In reply to 41276.5 
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!
------------------------------------------------------------------------
If you don't like donut, then leave it alone. Nobody force you to eat it.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  99% of gargoyles look like (MR_BASTARD)     
41276.7 In reply to 41276.5 
But there is in prostitute.

Me
0/0
 Reply   Quote More 

 From:  99% of gargoyles look like (MR_BASTARD)  
 To:  Chris (CHRISSS)     
41276.8 In reply to 41276.7 
You're in a prostitute? Does your wife know?

Incidentally, according the BBC, 11% of UK men pay for sex. the rest please themselves.

truffy.gifbastard by name
bastard by nature

0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  99% of gargoyles look like (MR_BASTARD)     
41276.9 In reply to 41276.8 
Yup, right now. Do you think I should tell her?

Me
0/0
 Reply   Quote More 

 From:  99% of gargoyles look like (MR_BASTARD)  
 To:  Chris (CHRISSS)     
41276.10 In reply to 41276.9 
Yes. Honesty is always the best policy.

truffy.gifbastard by name
bastard by nature

0/0
 Reply   Quote More 

 From:  koswix  
 To:  99% of gargoyles look like (MR_BASTARD)     
41276.11 In reply to 41276.5 
But there is a u in cunt.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  Manthorp  
 To:  Chris (CHRISSS)     
41276.12 In reply to 41276.9 
Quote: 
Yup, right now. Do you think I should tell her?

Your wife, or the prostitute?  The prostitute is probably aware that you are.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Manthorp     
41276.13 In reply to 41276.12 
You would think so but she doesn't seem to have noticed yet. Am I doing something wrong?

Me
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Chris (CHRISSS)     
41276.14 In reply to 41276.13 
Try using a living one.
0/0
 Reply   Quote More 

 From:  Chris (CHRISSS)  
 To:  Peter (BOUGHTONP)     
41276.15 In reply to 41276.14 
I suppose that could make a difference. I'll give it a go next time.

Me
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Peter (BOUGHTONP)     
41276.16 In reply to 41276.14 
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.
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  graphitone     
41276.17 In reply to 41276.16 
Don't feel bad, we can't all be insanely brilliant geniuses.
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Peter (BOUGHTONP)     
41276.18 In reply to 41276.17 
I'll leave the insanity to you. :J

Oh and the whores. You're welcome to their pestilence.
 
0/0
 Reply   Quote More 

Reply to All    
 

1–18

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats