Any issue using PHP INCLUDE for the head section ?

Any issue using PHP INCLUDE for the head section ?

Hi,

Ok, so I've got a site up and running ( Using individual html files/Not multipage

Would there be any issue with jquery if I used a php include for the head section of each page, placed just below the title tags?

Example:
A file called head.php

  1. <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  2. <link rel="apple-touch-icon" href="images/apple-touch-icon-iphone.png" /> 
  3. <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-ipad.png" /> 
  4. <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-iphone4.png" />
  5. <link rel="apple-touch-icon" sizes="144x144" href="images/apple-touch-icon-ipad3.png" />
  6. <link rel="apple-touch-startup-image" href="images/startup.png">
  7. <meta name="apple-mobile-web-app-capable" content="yes" />
  8. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
  9. <link rel="stylesheet" href="http://mobile.lamin-x.co.uk/my.css" />
  10. <link rel="stylesheet" href="scripts/examples.css" type="text/css">
  11. <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  12. <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
  13. <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js" type="text/javascript"></script>
  14. <script src="scripts/jquery.mobile.validate.js" type="text/javascript"></script>
  15. <script src="scripts/examples.js" type="text/javascript"></script>
  16. <!-- FlexSlider -->
  17. <link rel="stylesheet" href="scripts/slider/flexslider.css" type="text/css" media="screen" />
  18. <script defer src="scripts/slider/jquery.flexslider.js"></script>
  19. <script src="scripts/slider/flex.js"></script>

And call it in the head section of each html page like so:
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Welcome</title>
  5. <?php 
  6. include ('head.php');
  7. ?>
  8. </head>
  9. <body> 

PS: All my pages are .htm extension, but I'm allowing execution of php within html via htaccess.
So would this be ok? It would make changes to the head section of every page much easier as obviously it's just one file to edit (head.php)

Thanks.