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

AcceptFilter for Apache

AuthName directive for Apache

Passing value from child window to parent

Confirm box with 2 location

eSankey

AuthType directive for Apache

CoreDumpDirectory directive

About Pico at Linux

BS2000Account directive

ContentDigest directive