I have this script:
$ul_file = ("uploaded.list");
$ul = file($ul_file);
$fp = fopen($ul_file , "a+");
fputs($fp , $_FILES['imagefile']['name']);
fclose($fp);
It works perfectly fine, the only problem is that it writes to the same line in the file... How do I go a line down?