CS:portability:os

Operating System
A few notes on creating truly portable code:

* Always use forward slashes (/) when referencing the filesystem. Backslashes (\) are used for escaping, but forward slashes will translate properly on Windows. * With the exception of email headers, please use PHP_EOL in place of \n. This will properly translate across all platforms. * Email headers - not subjects, bodies, et cetera - should always use \r\n for line endings.