loadHTMLFile->(已由php输出的当前文件) [英] loadHTMLFile->(current file that has been output by php)

查看:76
本文介绍了loadHTMLFile->(已由php输出的当前文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,这是我的第三篇文章(即开始一个帖子),请保持温和。


我有一个PHP文件输出一个html文件(通常的PHP回声,没有好笑的事......好的PHP从XML文件输出......)。


现在,我想加载那个文件(HTML文件)。但该文件是由PHP创建的临时文件。


我的问题是:如果可能的话,我该如何做?

Hello, this is my third post (i.e. starting a thread), please be gentle.

I have a PHP file that outputs a html file (the usual PHP echo stuff, no funny business... Well PHP outputs it from a XML file... ).

Now, I want to load that file (the HTML file that is). But that file is a temp file created by PHP.

My question is thus: how, if possible, do I do that?

推荐答案

你可以fprintf()它某处而不是回声...

@see:http://www.php.net/manual/en/function.fprintf.php
You could fprintf() it somewhere instead of echoing...
@see: http://www.php.net/manual/en/function.fprintf.php



你可以将fprintf()放在某处而不是回声...

@see: http://www.php.net/manual/en/function.fprintf.php



感谢您的回复,但我不确定我是否关注您。我看了一下fprintf函数,但我看不出它对我有什么帮助,因为我不知道要处理的文件(fprintf(par1))。

Thanks for your reply, but I''m not sure if I''m following you. I took a look at the fprintf function, but I can not see how it would help me, because I do not know the file that is going to be handled (fprintf(par1)).


...我认为我正在寻找PHP输出缓冲区文件,这是正确的吗?
... I think that I''m looking for the PHP output buffer file, is this correct?


这篇关于loadHTMLFile->(已由php输出的当前文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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