hie ,
a little question, why this script doesn't work?
<?php
$f='test.txt';
$t='kaveh';
$tp=fopen($f,'r');
$fd=file($f);
for($i=0;$i<=count($fd);$i++){
$temp=$fd[$i];
if($temp==$t){