On Sun, 9 May 2004 22:00:53 +0530 "Harish" <[EMAIL PROTECTED]> wrote:
> <?php > $fp = fopen( 't.txt', 'r' ); > > while( !feof( $fp ) ) > { > print fgets( $fp ); > echo $counterval++; > if($counterval%100==0) > { > flush(); > } > } > fclose( $fp ); > ?> Modify your code like this and send it's output.. /* or ini_set('error_reporting', E_ALL); if your version * of php don't know error_reporting() */ error_reporting(E_ALL); $fp = fopen('t.txt', 'r'); if (! $fp) { die('Some error here!'); } -- Petr U. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php