Giter Club home page Giter Club logo

php_grep's Introduction

php_grep

php 8.2

Banner

This script will allow you to scan files of your website and search for a specific pattern; f.i. a word or a sentence.

Table of Contents

Install

Just copy the php_grep.php script in the root folder of your website. Use your FTP client to do this.

  1. Get a raw version of the script : click on the raw button or go to this URL : https://raw.githubusercontent.com/cavo789/php_grep/master/php_grep.php
  2. On your computer, start a text editor like Notepad or Notepad++ and copy/paste there the code
  3. Save the file (if you're using Notepad++, check in the Encoding menu that you've selected UTF8 NoBom as encoding)
  4. Put the saved file in your website root folder

Usage

Start a browser and run the file i.e go to f.i. http://site/php_grep.php.

The script display a form that will allow you to finetune the folder to scan. You'll also be invited to enter the search pattern you want to scan.

Don't forget to remove the script once you've finished with it.

PHP_Grep

Credits

Christophe Avonture | https://www.avonture.be Based on the work of @cafewebmaster.com and of Bernhard Waldbrunner, PHP grep, Copyright (C) 2012

Special thanks

Thank you to Loïc Martin (lomart) who has mentionned this script on the French Joomla.fr forum (https://forum.joomla.fr/showthread.php?221466-Comment-faire-une-recherche-dans-plusieurs-fichiers-php#post1132581)

License

MIT

php_grep's People

Contributors

cavo789 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cb9toiiia

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.