Here is what I have tried...
PHP Code:
$content .= ''.preg_replace('/[\r\n]/','',$names[$i]).':'.crypt(preg_replace('/[\r\n]/','',$passwords[$i]),base64_encode).'\n';
PHP Code:
$content .= ''.preg_replace('/[\r\n]/','',$names[$i]).':'.crypt(preg_replace('/[\r\n]/','',$passwords[$i]),base64_encode).'/n';
PHP Code:
$content .= ''.preg_replace('/[\r\n]/','',$names[$i]).':'.crypt(preg_replace('/[\r\n]/','',$passwords[$i]),base64_encode).'\r';
And Here is the output of each one...
PHP Code:
user:password\nuser:password\n
user:password/nuser:password/n
user:password\ruser:password\r
Each one in the output has slashes by the way, for some reason the phpcode thing omits them!
Bookmarks