我可以让PHP在asp.net页面上运行吗? [英] can I get php to run in an asp.net page?

查看:91
本文介绍了我可以让PHP在asp.net页面上运行吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图允许我的php页面在母版页的内容页中运行.我想以某种方式在母版页中运行php.除了框架,还有另一种方法吗?我读过您可以使用框架,但不希望使用.如果我必须使用框架来完成它,是否应该使用某种asp.net框架类或原始html类型?

I'm trying to allow my php pages to run inside a content page of the master page. I'd like to run php somehow inside a master page. Besides frames is there another way? I've read you can use a frame, but would prefer not to. If I have to go with frames to get it done, should I be using an asp.net frame class of some sort or the raw html type?

推荐答案

好吧,总是有

Well, there's always Phalanger for running PHP within the .NET framework, but I recommend against mixing environments like that.

如果您的PHP页面位于其他服务器上,请对其进行构架.如果必须将它们放在同一服务器上,请Phalanger.

If your PHP pages live on a different server, frame them. If you must have them on the same server, Phalanger them.

在这两种情况下,我建议您仔细,漫长而艰难地看待自己在做什么,并尝试寻找另一种方法.

In both cases, I suggest you take a good, long, hard look at what you're doing and try to find another way.

这篇关于我可以让PHP在asp.net页面上运行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆