i have this thing i added to my uploader
after every file upload it logs user-file-date/time and so on but i want it to skip lines after every input so far i have this
Code:
as you can see i tried $log = str_replace('*', '/n', $logs); to make it jump to the next line but that didn't work it just rights /n in the text, any suggestions?
after every file upload it logs user-file-date/time and so on but i want it to skip lines after every input so far i have this
Code:
$file = $my_uploader->file['name'];
$sep = " | ";
$date = date("F j, Y, g:i a");
$ip = $_SERVER['REMOTE_ADDR'];
$enter = "*";
$logs = $sep . $ip . $sep . $file . $sep . $date . $sep . $enter;
$log = str_replace('*', '/n', $logs);
$us = fopen("logs.php","a");
fwrite($us, $log);
fclose($us);
as you can see i tried $log = str_replace('*', '/n', $logs); to make it jump to the next line but that didn't work it just rights /n in the text, any suggestions?