Download .zip |
Info | Example | Demos | View files (58) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2017-07-18 (15 hours ago) | 70% | Total: 220 This week: 21 | All time: 7,797 This week: 35 |
Version | License | PHP version | Categories | |||
searchstringindirect 1.0.3 | The PHP License | 5 | PHP 5, Files and Folders, Searching, U... |
Collaborate with this project | Author | |||
SearchStringInDirectory - github.com Description This class can search for files with a given string using grep. Innovation Award
|
PHP Search String In Directory
Searching for the contents of files in PHP is easy. However it can be slow when you need to search for data in many files.
This class provides an alternative that can be faster by using the grep command that is available in most Unix or Linux distributions, so it can search many files at once traversing directories recursively.
How to use
1. Require class: require_once 'SearchStringInDirectory.php';
2. Using: $srch = new SearchStringInDirectory('/path/to/search/folder');
3. Using: $result $srch->search("Search string");
Example code in 'index.php' file.
Thank you !
I highly appreciate any of your donations.
Files |
File | Role | Description | ||
---|---|---|---|---|
jquery-upload-file (11 files, 7 directories) | ||||
index.php | Example | Example script | ||
README.md | Doc. | Documentation | ||
SearchStringInDirectory.php | Class | Class source |
Files | / | jquery-upload-file |
File | Role | Description | ||
---|---|---|---|---|
cors (2 files) | ||||
css (10 files) | ||||
fonts (1 file) | ||||
img (2 files) | ||||
js (18 files, 2 directories) | ||||
server (1 directory) | ||||
test (2 files) | ||||
.jshintrc | Data | Auxiliary data | ||
angularjs.html | Doc. | Documentation | ||
basic-plus.html | Doc. | Documentation | ||
basic.html | Doc. | Documentation | ||
bower.json | Data | Auxiliary data | ||
CONTRIBUTING.md | Data | Auxiliary data | ||
Gruntfile.js | Data | Auxiliary data | ||
index.html | Doc. | Documentation | ||
jquery-ui.html | Doc. | Documentation | ||
package.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | jquery-upload-file | / | cors |
File | Role | Description |
---|---|---|
postmessage.html | Doc. | Documentation |
result.html | Doc. | Documentation |
Files | / | jquery-upload-file | / | css |
File | Role | Description |
---|---|---|
blueimp-gallery.min.css | Data | Auxiliary data |
bootstrap.min.css | Data | Auxiliary data |
demo-ie8.css | Data | Auxiliary data |
demo.css | Data | Auxiliary data |
docs.css | Data | Auxiliary data |
jquery.fileupload-noscript.css | Data | Auxiliary data |
jquery.fileupload-ui-noscript.css | Data | Auxiliary data |
jquery.fileupload-ui.css | Data | Auxiliary data |
jquery.fileupload.css | Data | Auxiliary data |
style.css | Data | Auxiliary data |
Files | / | jquery-upload-file | / | fonts |
File | Role | Description |
---|---|---|
glyphicons-halflings-regular.svg | Data | Auxiliary data |
Files | / | jquery-upload-file | / | img |
File | Role | Description |
---|---|---|
loading.gif | Icon | Icon image |
progressbar.gif | Icon | Icon image |
Files | / | jquery-upload-file | / | js |
File | Role | Description | ||
---|---|---|---|---|
cors (2 files) | ||||
vendor (1 file) | ||||
app.js | Data | Auxiliary data | ||
bootstrap.min.js | Data | Auxiliary data | ||
canvas-to-blob.min.js | Data | Auxiliary data | ||
hilitor.js | Data | Auxiliary data | ||
jquery.blueimp-gallery.min.js | Data | Auxiliary data | ||
jquery.fileupload-angular.js | Data | Auxiliary data | ||
jquery.fileupload-audio.js | Data | Auxiliary data | ||
jquery.fileupload-image.js | Data | Auxiliary data | ||
jquery.fileupload-jquery-ui.js | Data | Auxiliary data | ||
jquery.fileupload-process.js | Data | Auxiliary data | ||
jquery.fileupload-ui.js | Data | Auxiliary data | ||
jquery.fileupload-validate.js | Data | Auxiliary data | ||
jquery.fileupload-video.js | Data | Auxiliary data | ||
jquery.fileupload.js | Data | Auxiliary data | ||
jquery.iframe-transport.js | Data | Auxiliary data | ||
jquery.js | Data | Auxiliary data | ||
load-image.all.min.js | Data | Auxiliary data | ||
main.js | Data | Auxiliary data |
Files | / | jquery-upload-file | / | js | / | cors |
File | Role | Description |
---|---|---|
jquery.postmessage-transport.js | Data | Auxiliary data |
jquery.xdr-transport.js | Data | Auxiliary data |
Files | / | jquery-upload-file | / | js | / | vendor |
File | Role | Description |
---|---|---|
jquery.ui.widget.js | Data | Auxiliary data |
Files | / | jquery-upload-file | / | server | / | php |
File | Role | Description | ||
---|---|---|---|---|
files (1 file) | ||||
.htaccess | Data | Auxiliary data | ||
docker-compose.yml | Data | Auxiliary data | ||
Dockerfile | Data | Auxiliary data | ||
index.php | Example | Example script | ||
UploadHandler.php | Class | Class source |
Files | / | jquery-upload-file | / | server | / | php | / | files |
File | Role | Description |
---|---|---|
.htaccess | Data | Auxiliary data |
Files | / | jquery-upload-file | / | test |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
test.js | Data | Auxiliary data |
searchstringindirect-2017-07-18.zip 267KB | |
searchstringindirect-2017-07-18.tar.gz | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.