surabaya web designer
cheap web promotion indonesia
design graphics and online shopping cart
     category      articles    
 

Adsense

Adwords

Article

Blog

CMS

CSS Style

Datacenter

Design Graphics

Flash Animation

Internet Radio

Messenger

Programming

Provider

Search Engine

Security

Security Web

SEF

SEO

Software

Software Web

PHP feof() Function

Definition and Usage

The feof() function checks if the "end-of-file" (EOF) has been reached.
This function returns TRUE if an error occurs, or if EOF has been reached. Otherwise it returns FALSE.

Example:
<?php
$file = fopen("test.txt", "r");
//Output a line of the file until the end is reached
while(! feof($file))
{
echo fgets($file). "<br />";
}
fclose($file);
?>


from: http://www.w3schools.com

OTHER ARTICLES

ClearModuleList directive

PHP and MySQL

Passing value from child window to parent

Sendmail using PHP

About Pico at Linux

ContentDigest directive

AcceptFilter for Apache

AuthUserFile directive

AuthName directive for Apache

AuthAuthoritative directive