English 中文(简体)
如何解释<? 别克斯公司线
原标题:How can I get apache to interpret <? lines as php lines?
  • 时间:2012-01-13 22:39:39
  •  标签:
  • php
  • apache

Im 继承了一些html/php代码。

I ve在我的窗口箱子上安装了灯塔和php。 首先,在我认识到没有来源地提供php.ini之前,做的是某种工作。 当我把路向除“Program文档”(x86)” d子以外的其他地方时,档案来源是来源的,但代码Im的停工。

《刑法》有一夫多妻的地方。 foobar ?> und de <?php foobar?>

I tried googling for <? vs <?php , but it ignored the <? parts.

我需要什么样的组合来说明这种“ &”; 方法?

最佳回答

you have to set short_open_tag = On in php.ini. However due to conflicts with XML this is generally seen as a bad idea.

问题回答

它不像最好的想法。 为纠正这些档案而创建一种文字? 采用定期表达方式是很困难的。





相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签