Search icon

This was actually an assignment given to me as part of an interview process some time back.

The brief was simple: to have an upload utility that allowed a search term to be specified and a text file to be uploaded, with the contents of the uploaded file then displayed in the browser with the search term highlighted.

My first pass is a pure PHP solution. Please note this is not production code and I would never push code like this!

See the demo here…

Leave a Reply