Posted by lvaro G. Vicario on 08/28/07 19:03
Fabio escribió:
> Each OS has its new line chars:
>
> unix = \n
> mac = \r
> windows = \r\n
>
> Can I get the used one on the OS where php is running?
Be aware that knowing the OS EOL is not necessarily useful. In web
environment you handle files that are often created and used in
different systems.
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor austrohúngaro: http://www.demogracia.com
--
Navigation:
[Reply to this message]
|