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

AccessConfig directive for Apache

AddDefaultCharset directive for Apache

Passing value from child window to parent

Redirecting YourSite.com to www.YourSite.com

Creating Google Maps

SnoopFree

htaccess at Windows

htaccess Useful

Doctypes for XHTML docs

Redirect with htaccess