Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

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  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Help file
Class: Site Tools
Search, list and view files from a directory
Author: By
Last change:
Date: 7 years ago
Size: 1,776 bytes
 

Contents

Class file image Download
Made by: Nadir Latif (nadir1915@yahoo.com)

1) Overview:

-These classes provide tools for performing the following tasks. For each task the list of files involved in the task appears below:

a)Search for a string within all files in the current folder(and its subfolders)
	-bottom_cs.php
	-check_string.php (main file)
	-top_cs.php

b)List all files that contain forms which post to a user specified file. All files in the current folder and its subfolders are searched.
	-bottom_cf.php
	-functions_cf.php
	-check_form.php (main file)
	-top_cf.php

c)View all files that are listed in a .csv file on the server. The list of files appears in a drop down and each file can be viewed in the frame below by clicking on its name. The pages in the list can be displayed automatically as in a slide show, or the user can move forward/backward. Each file can be marked. The marked file name is saved in the marked_items.csv file.
	-bottom_pp.php
	-preview_pages.php (main file)
	-top_pp.php
	
d)List all files in the current folder and its sub directories.
	-bottom_lf.php
	-list_files.php (main file)
	-top_lf.php

2) Usage:

-Place these files in a folder on your web server.
-Give write permissions to all the .csv files(i.e 666 permission).
-Access the main file e.g check_forms.php from any web browser.
-The scripts only write to the .csv files on the server and pose no security threat.
-When the user opens one of the main files in his browser, the list of files that appear on the screen will also be saved to the a .csv file on the server. This list can be viewed by opening the preview_pages.php file and selecting a .csv file.
-These tools are usefull for large sites.

-Feel free to contact me for applying this script to your site.