PHP代码不在IE 6中显示 [英] PHP code not displaying in IE 6

查看:39
本文介绍了PHP代码不在IE 6中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是PHP的新手,我很难获得简单的PHP页面

(php_test_page.php)来正确显示。该页面是:


< html>


< body>


< H1>测试线1< / h1>


<?PHP echo''< H1>测试线2< / h1>''; ?>


< / body>


< / html>


测试第1行显示的不是PHP行。如果我用浏览器(IE 6)查看源代码,那么该行仍在那里。


我不确定以下是否问题。我可能有两个问题

。但是,我的默认Web服务器没有运行,我似乎无法启动它。以下是使用XP Professional的方案:


- 单击控制面板


- 单击性能和维护


- 点击管理工具


- 双击电脑管理


- 开放服务和应用


- 开放互联网信息服务


- 开放网站


- 默认网站有一个红色错误标志被标记为

停止。点击默认网站然后点击开始按钮产生错误对话框

,并显示以下消息。 发生了意外错误0x8ffe2740。



I''m a newbie to PHP and am have problems getting simple PHP page
(php_test_page.php) to display correctly. The page is:

<html>

<body>

<H1>Test Line 1</h1>

<?PHP echo ''<H1>Test Line 2</h1>''; ?>

</body>

</html>

Test Line 1 displays fine by not the PHP line. If I look at the source with
the browser (IE 6), the line is still there.

I''m not sure if the following is the problem. I might have two problems
here. However, my default web server is not running and I can''t seem to
start it. The following is the scenario with XP Professional:

- Click Control Panel

- Click Performance and Maintenance

- Click Administrative Tools

- Double Click Computer Management

- Open Services and Applications

- Open Internet Information Services

- Open Web Sites

- The "Default Web Site" is has a red error sign is marked as
stopped. Clicking "Default Web Site" and click "Start" yield an error dialog
with the following message. "Unexpected error 0x8ffe2740 occurred."




推荐答案

Bruce A. Julseth写道:
Bruce A. Julseth wrote:
我是PHP的新手,我有问题得到简单的PHP页面
(php_test_page.php)正确显示。该页面是:
。 ..
测试线1显示不是PHP行。如果我用浏览器(IE 6)查看源代码,那么该行仍然存在。

我不确定以下是否存在问题。我可能在这里有两个问题。但是,我的默认Web服务器没有运行,我似乎无法启动它。以下是XP Professional的使用方案:

- 单击控制面板

- 单击性能和维护

- 单击管理工具

- 双击计算机管理

- 开放服务和应用

- 开放互联网信息服务

- 开放网站
- 默认网站有一个红色错误标志被标记为
停止。点击默认网站然后点击开始按钮产生错误对话框
,并显示以下消息。 发生意外错误0x8ffe2740。
I''m a newbie to PHP and am have problems getting simple PHP page
(php_test_page.php) to display correctly. The page is:
. ..
Test Line 1 displays fine by not the PHP line. If I look at the source with
the browser (IE 6), the line is still there.

I''m not sure if the following is the problem. I might have two problems
here. However, my default web server is not running and I can''t seem to
start it. The following is the scenario with XP Professional:

- Click Control Panel

- Click Performance and Maintenance

- Click Administrative Tools

- Double Click Computer Management

- Open Services and Applications

- Open Internet Information Services

- Open Web Sites

- The "Default Web Site" is has a red error sign is marked as
stopped. Clicking "Default Web Site" and click "Start" yield an error dialog
with the following message. "Unexpected error 0x8ffe2740 occurred."




一般来说,''意外错误''是一个不好的迹象,有点像报纸

文章开头''受伤者......''。您是否处于重新安装XP的位置,看看是否有帮助?如果没有,你可以通过获取和安装Apache的副本来尝试解决方法,除非有一些理由为什么你肯定必须使用XP默认的
一个。


祝你好运。


玛格丽特

-

(要给我发邮件,请先将.not.invalid更改为.net,首先。

为此带来的不便表示抱歉。)



In general, ''unexpected error'' is a bad sign, sort of like a newspaper
article that starts out ''Among the injured...''. Are you in a
position to re-install XP and see whether that helps? If not, you
might try a workaround by getting and installing a copy of Apache,
unless there''s some reason why you positively must use the XP default
one.

Good luck.

Margaret
--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)


我安装了Apache并启动了它。我没有连接到它吗

正确吗?


谢谢..


布鲁斯


" Margaret MacDonald" < SC ********** @ att.not.invalid>在消息中写道

news:rq ******************************** @ 4ax.com ...
I have Apache installed and it is started. Am I not connecting to it
correctly?

Thanks..

Bruce

"Margaret MacDonald" <sc**********@att.not.invalid> wrote in message
news:rq********************************@4ax.com...
Bruce A. Julseth写道:
Bruce A. Julseth wrote:
我是PHP的新手,我在获取简单的PHP页面时遇到了问题
(php_test_page .php)正确显示。该页面是:
。 ..
测试线1显示不是PHP行。如果我用浏览器(IE 6)查看源
,那么该行仍然存在。

我不确定以下是否存在问题。我可能在这里有两个问题。但是,我的默认Web服务器没有运行,我似乎无法启动它。以下是XP Professional的使用方案:

- 单击控制面板

- 单击性能和维护

- 单击管理工具

- 双击计算机管理

- 开放服务和应用

- 开放互联网信息服务

- 开放网站
- 默认网站有一个红色错误标志被标记为
停止。点击默认网站然后点击开始按钮产生错误
对话框,显示以下消息。 发生意外错误0x8ffe2740。
I''m a newbie to PHP and am have problems getting simple PHP page
(php_test_page.php) to display correctly. The page is:
. ..
Test Line 1 displays fine by not the PHP line. If I look at the source withthe browser (IE 6), the line is still there.

I''m not sure if the following is the problem. I might have two problems
here. However, my default web server is not running and I can''t seem to
start it. The following is the scenario with XP Professional:

- Click Control Panel

- Click Performance and Maintenance

- Click Administrative Tools

- Double Click Computer Management

- Open Services and Applications

- Open Internet Information Services

- Open Web Sites

- The "Default Web Site" is has a red error sign is marked as
stopped. Clicking "Default Web Site" and click "Start" yield an error dialogwith the following message. "Unexpected error 0x8ffe2740 occurred."



一般来说,''意外错误''是一个不好的迹象,有点像报纸
文章开头''受伤的人......''。您是否处于重新安装XP的位置,看看是否有帮助?如果没有,你可以通过获取和安装Apache的副本来尝试解决方法,
除非你有正当理由必须使用XP默认的一个。

祝你好运。

玛格丽特
-
(要给我发邮件,请先将.not.invalid更改为.net。
道歉不便。)



In general, ''unexpected error'' is a bad sign, sort of like a newspaper
article that starts out ''Among the injured...''. Are you in a
position to re-install XP and see whether that helps? If not, you
might try a workaround by getting and installing a copy of Apache,
unless there''s some reason why you positively must use the XP default
one.

Good luck.

Margaret
--
(To mail me, please change .not.invalid to .net, first.
Apologies for the inconvenience.)



您好Bruce
Hi Bruce
测试线1显示不是PHP行。如果我用浏览器(IE 6)查看源
,那么该行仍然存在。


正如您所假设的,您的网络服务器似乎无法正常工作,或者它没有b $ b支持包含PHP。但是,如果它没有运行,那么你就不会在你的浏览器中获得任何输出(这意味着,如果你将浏览器正确指向

http://。 .....而不是提交:/// ....)

- 默认网站有一个红色错误标志被标记为
停止。点击默认网站然后点击开始按钮产生错误
对话框,显示以下消息。 发生了意外错误0x8ffe2740。
Test Line 1 displays fine by not the PHP line. If I look at the source with the browser (IE 6), the line is still there.
As you assumed, your webserver seems not to work correctly, or it doesn''t
has support for PHP included. However, if it isn''t running, then you
wouldn''t get anything of output in your browser (that means, if you point
your browser correctly to http://...... and not to file:///....)
- The "Default Web Site" is has a red error sign is marked as
stopped. Clicking "Default Web Site" and click "Start" yield an error dialog with the following message. "Unexpected error 0x8ffe2740 occurred."




顺便说一下,有一个很好的软件包,''xamp'',包括apache,mysql,php,
phpmyadmin等。易于安装,适用于Windows,适合初学者......:
http://www.apachefriends.org/en/ 。也许你可以尝试这个,如果你的当前网络服务器不会开始。


问候,Greg



Btw, there is a nice package, ''xamp'', which includes apache, mysql, php,
phpmyadmin, etc. Easy-to-install, works on windows, nice for beginners...:
http://www.apachefriends.org/en/. Perhaps you may try this one, if your
current webserver won''t start.

Greetings, Greg


这篇关于PHP代码不在IE 6中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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