I am generating a straight ascii text file for upload to the bank.
i need to have a CR/LF as a record delimiter.
is there a function similar to fwrite that will write the line with the CR/LF ?
how do i write this to the vile ?
Line Feed = "\n" Carriage Return = "\r"
Just just those in fwrite:
$fp = fopen("blah.txt", "w+"); fwrite($fp, "line 1\r\nline2\r\n"); fclose($fp);