/ Published in: PHP
Create a file named externaljs.php. Then link to it:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php 'ga.js' => 'https://ssl.google-analytics.com/ga.js', 'bsa.js' => 'https://s3.buysellads.com/ac/bsa.js', 'pro.js' => 'https://s3.buysellads.com/ac/pro.js' ); if ($files[$_GET['file']] == 'ga.js'){ } else { } } ?>
URL: https://www.catswhocode.com/blog/php-how-to-add-expire-headers-for-external-scripts