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

AllowOverride directive for Apache

BS2000Account directive

AccessFileName directive for Apache

AcceptFilter for Apache

ContentDigest directive

AuthDigestRealmSeed directive for Apache

CoreDumpDirectory directive

AuthUserFile directive

Count how many days

About Pico at Linux