note 35003 added to function.fgetcsv
| From: | shaun at linuxhost dot cc | Date: | Fri, 15 Aug 2003 05:03:48 +0000 |
| Subject: | note 35003 added to function.fgetcsv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54174@lists.php.net to get a copy of this message | ||
I've seen alot of people talking about ways to convert from mac to unix or from dos to unix.
For DOS to UNIX I use dos2unix in the "tofrodos Ver 1.4" package.
http://www.thefreecountry.com/tofrodos/index.shtml
For Mac to UNIX I have the follwing in my .bashrc
alias mac2unix="perl -pi -e 'tr/\015/\012/'"
Just run dos2unix or mac2unix <filename> and it will convert. My life has been easier ever
since I started installing these utilities.
----
Manual Page -- http://www.php.net/manual/en/function.fgetcsv.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35003
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35003&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35003&report=yes