Navigation :
HomeSource code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links
Site Sponsors :
Bookmark :
Links :
dropshipperswwwstores
finance products
Downloads :
Misc :
Webmaster ResourcesOnly PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming
Search a text file
Find a pattern in a text file
<?php
//find a match in a file
//our pattern
$pattern = "html";
//open the websites file for reading
if(!$fp = fopen("websites.txt","r"))
{
echo "cannot open the file";
}
else
{
//while the file is not empty
while(!feof($fp))
{
//read a line at a time to try and find a match
$read_line = fgets($fp,255);
if($read_line == $pattern)
echo "We have a match<br>";
}
fclose($fp);
}
?>
Books :
Sponsors :
Random Code :
File size function(file system)date and time example(date and time)
time to load page example(internet)
Random Article :
Create a Simple Effective PHP Form for Your Web SiteNetwork:
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