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.
So I plan to use php to explode() that input and loop through it for an SQL search.
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.