Navigation :
HomeSource code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links
Site Sponsors :
- Load Cells
- mothers day replica rolex watches today
- Free partition data recovery utilities
- MySQL & Best PHP Web Hosting + save 50%
Bookmark :
Links :
finance productsdvd information
wwwstores
Downloads :
Misc :
Webmaster ResourcesOnly PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming
store a text file into an array
stores a text file line by line into an array and in this example prints out line 2
<?php
//read a text file into an array
$filename="test.txt";
$lines = array();
$fp = fopen($filename, "r");
while(!feof($fp))
{
//read file line by line into a new array element
$lines[] = fgets($fp, 4096);
}
fclose ($fp);
//display line 2
echo $lines[1];
?>
Books :
Sponsors :
Random Code :
Reverse sort(functions)create a date(date and time)
simple quote of the month(application)
Random Article :
PHP RedirectPHP General Scripting
Network:
Programming resourcesTutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Del.icio.us
Digg
Furl
Newsvine
Netscape
Reddit
StumbleUpon
Technorati
Squidoo
Windows Live
Yahoo MyWeb
Ask
Google