i have a site in which i want the php code to search a specified dir on my site containing TXT files. The search will be with a search string i give.
i have been till now picking up txt files when i know a file name. but dont know how to search for a file according to a given keyword (or a part of keyword).
Please help me out as soon as possible. as i need the site up and running in 2 days. :-S.
was using something like this:
$filename ="downloadedMovies.txt"; $myFile = fopen($filename, "r"); //open the file for reading, file pointer will be at the beginning of the filebut now i want to use a simple Include command. :-)..
hope someone can help me at the earliest..
dont worry i can do the codding myself but need to know how.. dont know the syntax and all.. :-)