Hi all. I have a script that indexes html files within a directory. The files are created using the date & time stamps by another script & what I'm looking to do is somehow create a preview panel for the message which would read the 2nd to the 4th line & disply it under the filename so as to provide a better description. I'd really appreciate somebodies help with this & if you need more information please let me know
My index script looks like the following: <? print("<UL>\n"); $thisdir = dir("."); while($filename = $myDirectory->read()) { if ($filename != "." && $filename != ".." && eregi (".*\.htm",$filename)){ print("<LI><a href=$filename>$filename \n</a>"); } } $thisdir->close(); print("</UL>\n"); ?> Thanks Kev _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]