Well if you mean to delete Jane Nobody from the file you could do something like:
$x = file("some.txt");
// By opening this file like this you erase everything in it
$fp = fopen("some.txt",w);
for ($i = 0; $i < sizeof($x); $i++) {
// if the index is not equal to the one we want to
// Get rid of then put it back in the file
// We want to get rid of the 1st index (but this could be
// a variable so we can select which one we want to
// delete).
if ($i != 1)
fputs($fp, $x[$i]);
}// end for
You basically get everything out and then put everything back in except for the value you want to delete. So you "delete" the value. This may not be the cleanist way but it gets the job done. 🙂
I hope that helps and is what you needed.