Hi,
I am not sure if this is a PHP question as such but I am not sure where else o post it.
I am working on a .passwd file and it seems that each username and passord combination is on its own line.
I am adding to the password file and I want to know how I add a line with the carriage return character.
I am using PHP to edi the file by the way.
Many thanks in advance,
Rob.
Carriage return
Moderator: General Moderators
Code: Select all
$carriage_return = "\r\n";
$line_feed = "\n";