加载框架集文件形式php包括? [英] load frameset file form php include?

查看:68
本文介绍了加载框架集文件形式php包括?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好


我在使用php

文件中的include加载框架集文件时遇到问题。


没有显示任何内容,当我查看源代码时,我看到


< html>

< head>

< title>< / title>

< / head>

< body>

< /正文>

< / html>


高于框架集代码 - 大概是因为< body>< / body>

标签在那里,框架组不起作用?


如何更正?


干杯


Geoff

解决方案

8月13日21:25,Geoff Cox< g ... @ freeuk.notcomwrote:


你好


我在使用php中的include加载框架集文件时遇到问题

文件。


没有显示任何内容,当我查看源代码时我会看到那个


< html>

< head>

< title>< / title>

< / head>

< body>

< / body>

< / html>


高于框架集代码 - 可能是因为< body>< / body>

标签在那里,框架集不起作用?


如何更正?


干杯


Geoff



该死的,在那里我仔细查看你的代码,当我的水晶球

死了!


周三, 2008年8月13日13:36:14 -0700(PDT),Paralytic上尉

< pa ********** @ yahoo.comwrote:


> 8月13日21:25,Geoff Cox< g ... @ freeuk.notcomwrote:


> Hello

我在使用php
文件中的include加载框架集文件时遇到问题。

没有显示任何内容当我看到源代码时,我看到了

< html>
< head>
< title>< / title>
< / head>
< body>
< / body>
< / html>

高于框架集代码 - 大概是因为< body> < / body>
标签在那里,框架组不起作用?

如何更正?

干杯

Geoff


该死的,当我的水晶球死了的时候,我正在仔细查看你的代码!



OK!


1. php文件包含


<?php

@require(dirname(__ FILE__)。''/../../ config_php / config.php'');


name_of_user =


Hello

I''m having a problem loading a frameset file using an include in a php
file.

Nothing is displayed and when I look at the source code I see that

<html>
<head>
<title></title>
</head>
<body>
</body>
</html>

is above the frameset code - and presumably because the <body></body>
tags are there, the frameset will not work?

How can I correct this?

Cheers

Geoff

解决方案

On 13 Aug, 21:25, Geoff Cox <g...@freeuk.notcomwrote:

Hello

I''m having a problem loading a frameset file using an include in a php
file.

Nothing is displayed and when I look at the source code I see that

<html>
<head>
<title></title>
</head>
<body>
</body>
</html>

is above the frameset code - and presumably because the <body></body>
tags are there, the frameset will not work?

How can I correct this?

Cheers

Geoff

Damn, there I was carefully looking at your code, when my crystal ball
died!


On Wed, 13 Aug 2008 13:36:14 -0700 (PDT), Captain Paralytic
<pa**********@yahoo.comwrote:

>On 13 Aug, 21:25, Geoff Cox <g...@freeuk.notcomwrote:

>Hello

I''m having a problem loading a frameset file using an include in a php
file.

Nothing is displayed and when I look at the source code I see that

<html>
<head>
<title></title>
</head>
<body>
</body>
</html>

is above the frameset code - and presumably because the <body></body>
tags are there, the frameset will not work?

How can I correct this?

Cheers

Geoff


Damn, there I was carefully looking at your code, when my crystal ball
died!

OK!

1. The php file which has the include

<?php
@require(dirname(__FILE__) . ''/../../config_php/config.php'');


name_of_user =


这篇关于加载框架集文件形式php包括?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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