<?php $line = $_GET["line"]; //echo("$line"); //exec("more lists.txt > temp_lists.txt"); if ($line == 0) { exec("rm countries-white.txt"); } else { exec("sed $line'd' countries-white.txt > temp_countries-white.txt"); } exec("more temp_countries-white.txt > countries-white.txt"); exec("rm temp_countries-white.txt"); ?> <html> <HEAD> <SCRIPT language="JavaScript"> <!-- window.parent.location="whitelist.php"; //--> </SCRIPT> </HEAD> </html>