thanks, it was very silly mistake, but it doesnt work, there in nothing wrong with if statement, moreover, <?php
$ip=fopen("ip.txt", 'r+');
$k=filesize($ip);
$adam=fread($ip);
fclose($ip);
echo "$adam";
?>
i think there is something wrong with fread, is there another way to reading
a file, and return it as a string?
doesnt work too
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

