The problem is probably that your line breaks are different on your linux and windows boxes.
Your code written on a Windows box says that this linebreak >>>
is a chr(13).chr(10) combo
On your linux box, it's probably just chr(10), no chr(13)
On macs, I think its just chr(13), no chr(10)
So your code dutifully looks for chr(13)chr(10) and finds no match to explode.
My solution is to do a blanket search and replace on the string to be exploding
$string=str_replace(chr(13).chr(10), chr(10), $string);
$string=str_replace(chr(13), chr(10), $string);
do the same with your exploding string:
$string=(",
blah,
") ;
$explodeOnThis=str_replace(chr(13).chr(10), chr(10), $explodeOnThis);
$explodeOnThis=str_replace(chr(13), chr(10), $explodeOnThis);
Then
$myexplode=explode($explodeOnThis, $string);