Noiselabs Consulting
Noiselabs Consulting

Software Consultancy

Tags


Vítor Brandão
Author

Vítor Brandão

Sanitize filenames with PHP

PDF generation and invalid characters While working with the TableTools PDF generator included in the great DataTables jQuery plugin I've noticed that sometimes the script failed to generate the PDF file. The cause? Invalid characters in the filename. Well, to solve this issue I've made a simple PH…

Vítor Brandão Vítor Brandão