if(isset($_GET["id"]) && $_GET["id"]!="") $id=htmlspecialchars($_GET["id"]); if(isset($_GET["t"]) && $_GET["t"]!="") $t=htmlspecialchars($_GET["t"]); $d=file_get_contents("{$t}/{$id}.txt"); $dar=explode("|\n",$d); // print_r($dar); // print $id.".".$t; //$t="h"; ?>