Login   Register  
PHP Classes
elePHPant
Icontem

File: SearchString/top_cs.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nadir Latif  >  Site Tools  >  SearchString/top_cs.php  >  Download  
File: SearchString/top_cs.php
Role: Auxiliary script
Content type: text/plain
Description: Used to search the specified folder for a string
Class: Site Tools
Search, list and view files from a directory
Author: By
Last change:
Date: 7 years ago
Size: 891 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Top</title>
</head>

<body>
<br />
<br />
<div align="center">Search Path :
  <input type="text" name="search_path" id="search_path" value="<?=getcwd().'/';?>" />
  Search String : 
  <input type="text" name="str_to_check" id="str_to_check"/>  
  <input type="submit" name="display_files" id="display_files" onclick="GetFileList();"/> [Seperate search terms with ',']
</div>
</body>
<script>
function GetFileList()
    {        
        parent.mainFrame.location.href="bottom_cs.php?str_to_check="+document.getElementById('str_to_check').value+"&search_path="+document.getElementById('search_path').value;
    }
</script>
</html>