
September 17th, 1999, 10:43 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
I believe that Windows uses 'rn' as a EOL character and UNIX machines only use a 'n' character for an EOL.
You may be able to do something like this to remedy the problem:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
<?
$fileOutput=ereg_replace("rn","n",$fileOutput;
?>
[/quote]
Or perhaps this would work:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
<?
$fileOutput=ereg_replace(13,"n",$fileOutput);
?>
[/quote]
|