Posted by vertigo on 09/16/07 14:48
Hello
<?php
$fh =3D fopen("/var/www/localhost/htdocs/web/webalizer.hist","r");
$line=3D"";
while(!feof($fh)){
$line=3Dfgets($fh);
print "$line<BR>";
}
print "LINE: $line<BR>";
fclose($fh);
?
Why i have such result that i co not see anything after "LINE:" ?
(is $line variable zeroed after while loop ? how can i prevent it ?)
Thanx
Navigation:
[Reply to this message]
|