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

AccessConfig directive for Apache

AddModule directive for Apache

AuthUserFile directive

Sendmail using PHP

AuthAuthoritative directive

ContentDigest directive

eSankey

Prevent htaccess From Hack 2

AuthUserFile directive