Processing external js file with php

Most javascript files don't need php because they work client side and with the DOM but there are some particular cases in which it can be usefull. For instance, with some string translations, client info, selective script loading, etc... When the script is only used in a particular page it can be written inside that page, there is no need to exter…

Read More