php - Filter outgoing html files -


I have all the *. Html files contain custom syntax before filter.php I can assume that it can be done with .htaccess .

Note, I *. Html does not want to parse as a PHP

example

In your htaccess,

  reverse raul (. *. Html) filter.php? Htmlfile = $ 1   

Now, in filter.php, you can

  $ html = file_get_contents ($ _GET ['htmlfile']) ; // and whatever needs to be done, then $ html;    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -