I know JavaScript is client side and PHP is server-side. I also know this is an odd question. However, the CMS editor I'm using will not allow php to be stored to the database (it's the same editor used by Dupral). I can store JavaScript though.
Can I import a php file with JavaScript. Or rather read the php file, store the content in a variable then out put the content to the screen?