Advanced File Search PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: snippet930.htm
  • Last update:
  • Platform: Windows / Linux / BSD / Solaris
  • Language: PHP
  • Price:Freeware
  • Company: Styx (View more)

Advanced File Search script description:




Publisher review:
Advanced File Search lets you search for one or more files in one or more directories using regular expressions with the option to search sub directories and ignore case. This object lets you search for one or more files in one or more directories using regular expressions with the option to search sub directories and ignore case.

Regular expressions can be used for both name and extension matching, which means you can type in both file names and file extensions as regular expression strings. $search = new file_search($files [, $directories [, $sub [, $case]]]) $files may be string or array $directories may be string or array $sub may be bool or int (false/0 = no searching subdirectories) $case may be bool or int (false/0 = case insensitive) Examples: # extensions are always insensitive # trailing slash for directories is optional $find = array('Terms.[^php]', 'contact.php|html'); // searches current directory and sub directories, case insensitive $search = new file_search($find); // searches /test/subdir and sub directories, case sensitive $search = new file_search($find, 'test/subdir', 1, 0); // searches /images and /test for image with extension jpg, gif, or bmp // sub directories, case insensitive $search = new file_search('image.jpg|gif|bmp', array('images', 'test')); // searches current directory for files with the letters a-h // no sub directories, case insensitive $search = new file_search('[a-h].php', '.', 0); Result: $search->found // array of results with directory path
Advanced File Search is a PHP script for Snippets scripts design by Styx. It runs on following operating system: Windows / Linux / BSD / Solaris.

Operating system:
Windows / Linux / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5