Coder Social home page Coder Social logo

bomcleaner's Introduction

BomCleaner

Who am I? Check my blog...

This is a single php file designed for removing the UTF 8 byte mark order from files on a hosted web site. Tool searches the directories for file with BOM and tries to remove it. Checking starts from the script's current location, and moves downward, but not upwards. So simply put it to the top folder of your site and run.

Script has the ability to detect if it is called from web or terminal and echoes related information for the medium. Color codes are used to define folders, files with bom, are clean, cleaned files and errors. If you want this to work as good as possible, give the script read and write permissions.

Both web and terminal versions let you select file types for checking. Web version has php and html files defined as defaults but terminal has none, so you must write yes for each asked extension. It is possible to define custom extensions if you need to.

##Here are some screenshots. ####When you are running from the linux terminal:

####Startup screen when called from web:

####After searching for files:

This software is licensed with open source MIT license. The program is distributed in the hope that it will be useful, but without any warranty. The entire risk as to the quality and performance of the program is with you. In no event the author will be liable to you for damages, including any general, special, incidental or consequential damages arising out of the use or inability to use the program (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the program to operate with any other programs), even if the author has been advised of the possibility of such damages.

bomcleaner's People

Contributors

emrahgunduz avatar

Watchers

James Cloos avatar  avatar

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.