title: explode error \r\n and \n in windows and linux server
body: <p>I have used explode function to get textarea's contain into array based on line. When I run this code in my localhost (WAMPserver 2.1) It work perfectly with this code : </p>
  
  <pre><code>$arr=explode("\r\n",$getdata);
  </code></pre>
  
  <p>When I upload to my linux server I need to change above code everytime into :</p>
  
  <pre><code>$arr=explode("\n",$getdata);
  </code></pre>
  
  <p>What will be the permanent solution to me. Which common code will work for me for both server? </p>
  
  <p>Thank you</p>