You are here: Re: How to OS new line char « PHP Programming Language « IT news, forums, messages
Re: How to OS new line char

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация