PHP script inside Django template

十年热恋 提交于 2021-02-08 03:31:33

问题


Hp: having the possibility of running an application server with both a Py interpreter with Django and a PHP engine...

It would be possible to run a PHP script into a Django template?

Is it possible to implement such application server through Apache 2.0 mods?

How would the views and the template file look like?


回答1:


It is awful idea, but you can check this project.



来源:https://stackoverflow.com/questions/9891653/php-script-inside-django-template

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!