Liam Gibbs wrote:
It looks like you are viewing a dos/windows file on unix. The ^M is
carriage return, which is needed as part of a dos/window end of line
sequence (carriage return, line feed) whereas unix uses just line feed.
Nope. They're UNIX-created and UNIX-modified. Does it matter if I downloaded
them onto my PC and then back onto the server? I don't think it should,
since I did a global search-and-replace of all those suckers.
As long as both transfers were done BINARY or ASCII then it should be
the same when you get the file back. Just a thought, how are you
generating these files? If you are doing it from code then \r \n will
give you carriage return and line feed. On *nix you just need \n (there
is the odd exception like mail() which should use both).
HTH
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php