How to import php with javascript?

Posted by dcp3450 on Stack Overflow See other posts from Stack Overflow or by dcp3450
Published on 2010-06-15T16:30:27Z Indexed on 2010/06/15 16:42 UTC
Read the original article Hit count: 188

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript