reliably detecting line breaks in php
<p>I'm going to build a wee batch search field where someone can enter/paste in a bunch of keywords separated by a linebreak, they might be copied in from excel, word or where-ever.</p>

<p>So I plan to use php to explode() that input and loop through it for an SQL search.</p>

<p>Do I need to do anything special to reliably detect the line breaks - my understanding is that the character can be different depending on where it's pasted from.</p>
