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 -

java - Reaching JTextField in a DocumentListener -

c# - Add Image in a stackpanel based on textbox input -