can I do:
explode(\"\\n\", $_POST[\'thetextarea\']);
and have it work on all platforms? (The question I am asking is will it ever be \\r\\n
You could also use the PHP_EOL constant:
PHP_EOL
explode(PHP_EOL, $_POST['thetextarea']);