include "head.php"; ?> include ".inc.php"; ?> $key = htmlspecialchars( $_GET['key'] ); $record = @file("./data.txt"); for($loop = 1;$loop < count($record);$loop++) { $line = ereg_replace("\n","",$record[$loop]); list($pre_key1,$pre_key2,$pre_key3,$pre_key4,$pre_key5,$pre_key6,$pre_key7)= split(":::",$line); if($key == $pre_key1){ $key1 = $pre_key1; $key2 = $pre_key2; $key3 = $pre_key3; $key4 = $pre_key4; $key5 = $pre_key5; $key6 = $pre_key6; $key7 = $pre_key7; } } ###for($loop = 1;$loop < count($record);$loop++) echo "
"; echo " |