Jump to content

Combine JS with PHP


br0ken

Recommended Posts

It's definitely a PHP server as I'm running a PHP eCommerce site on the server.

 

Here is the code copied from the source.

 

<script type="text/javascript" src="http://www.sunglassessave.com/js/index.php?c=auto&f=,prototype/prototype.js,prototype/validation.js,scriptaculous/builder.js,scriptaculous/effects.js,scriptaculous/dragdrop.js,scriptaculous/controls.js,scriptaculous/slider.js,varien/js.js,varien/form.js,varien/menu.js,mage/translate.js,mage/cookies.js,js/effects.js,jquery/jquery-1.4.1.min.js" ></script>

 

If I include each file separately it works fine and it works fine in Firefox.

 

 

Link to comment
https://forums.phpfreaks.com/topic/191259-combine-js-with-php/#findComment-1008444
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.