<?php
// *****************************************************//
// //
// Author - Marcus S. Xenakis 4/28/99 //
// marcus@xenakis.net //
// //
// This simple PHP script only runs on a UNIX server. //
// It is based on the "find" command. //
// It should reside in your web server root directory //
// //
// This program finds files on the sitebased upon the //
// passed paramter (parm) or the promted filespec. //
// The filespec can be a complete name or it may //
// wildcards. //
// //
// This program is disigned to call two other php //
// scripts, //
// usage.php: which displays directory usage. //
// directory.php: which displays dir lists. //
// //
// There is one modifications required in order in //
// order to run this script. You must enter your root //
// dirctory. //
// //
//******************************************************//
// MODIFY THE FOLLOWING LINE TO YOUR HOME DIRECTORY
passthru("find /home/yourdirectory -name '$parm' ");
echo "</pre>";
?>
<hr><br></font>
<font face=arial size=2>
[<u><a href=usage.php>Usage</a></u>]
[<u><a href=directory.php>Dir</a></u>]
</font>