Navigation :
HomeSource code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links
Site Sponsors :
Bookmark :
Links :
software directorylow cost magazines
programmershelp
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 :
find a string in another(string)list all databases(database)
Image resizer(image)
Random Article :
PHP Pear Packages Why they are so important to php developersNetwork:
Programming resourcesTutorials directory
Clickbank mall
sell software
Free auctions, low cost stores
UK products
US products
Gambling directory
Sexy free wallpapers
Hosting resources
ASP site
DVD site
Domain names
Dating site
Software directory
Maxi directory
bigarticle : free articles
Del.icio.us
Digg
Furl
Newsvine
Netscape
Reddit
StumbleUpon
Technorati
Squidoo
Windows Live
Yahoo MyWeb
Ask
Google