RE: [PHP] break up variable and put each element in an array

From: Date: Fri, 11 Aug 2006 07:40:25 +0000
Subject: RE: [PHP] break up variable and put each element in an array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240536@lists.php.net to get a copy of this message
Actually, I know that it's browser/OS dependent, cuz I had a bunch of Mac users who sent only \r all the time. This may be true only of OS 9, and you may not care about them anymore, but there it is. I also would not be so quick to claim that Linux sends \r\n -- It could be dependent on the browser, the OS version, the OS distro, some OS settings, ... Better safe than sorry, and I *know* I ran into this with some Mac users. Plus I hate trying to edit the text chunks in vi with those icky \r thingies that turn into ^M :-) What would you suggest to use then?

« previous php.general (#240536) next »