Here is the snip of code
$file = file("install.php") or exit('could not read file');
for ($i=5; $i <= 105; $i++) {
unset($file[$i]);
}
I tried printing the lines in question, so I know it is reading them properly, but it is not deleting them
Basically I want to remove a section of code from the page once done as after the first run it is no longer needed