问题描述
我希望能够使用与coldfusion 站点中相同的数据库将一些新站点页面移植到PHP.是否可以让 PHP 在其他目录中运行页面并来回运行?
I would like to be able to port some new site pages over to PHP using the same db as in the coldfusion site. Is it possible to have PHP run pages in say other directory and go back and forth ?
非常感谢您的回复.
特里
推荐答案
正如其他人所说,是的,这是可能的.您的配置并不重要,(除非您寻求设置帮助),因为它可以在任何现代网络服务器(Apache、IIS 等)上完成.
As others have said, yes, it is possible. Your configuration doesn't really matter, (unless you're looking for help getting it setup), because it can be done on any modern webserver (Apache, IIS, etc).
不过,需要考虑的是默认文档.如果您的 Web 应用程序使用以下网址:
Something to think about, though, is the default document. If your web application uses urls like:
http://example.com/myApp/(没有 index.cfm 或 index.php 在网址)
http://example.com/myApp/ (no index.cfm or index.php in the url)
那么您需要注意默认文档的显式顺序.如果在同一个目录下同时有 index.php 和 index.cfm 模板,哪个会执行?
Then you need to be aware of the explicit order of default documents. If you have both an index.php and an index.cfm template in the same directory, which will execute?
如果您的默认文档列表是(的变体):
If your default document list is (a variation of):
index.cfm index.php default.aspx index.html
index.cfm index.php default.aspx index.html
然后将执行 ColdFusion 页面.另一方面,如果默认文档列表是(的变体):
Then the ColdFusion page will be the one to execute. On the other hand, if the default document list is (a variation of):
index.php index.cfm default.aspx index.html
index.php index.cfm default.aspx index.html
那么 PHP 页面将是要执行的页面.
Then the PHP page will be the one to execute.
这篇关于是否可以运行 Coldfusion &PHP 在同一服务器和网站上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)