Fopen问题 [英] Fopen problems

查看:53
本文介绍了Fopen问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图以这种方式打开文件:


$ handle = fopen(" http://localhost/test.html"," r") ;


但是页面仍然是loading .. 30秒然后进入

超时。


但是我可以这样打开那个文件:


$ handle = fopen(" c:\ web\test.html"," r");


有什么区别,我怎样才能做出第一条指令

工作?


祝你好运。


F.

I''m trying to fopen a file this way:

$handle = fopen("http://localhost/test.html", "r");

but tha page remains "loading .." for 30 seconds and then goes in
timeout.

However I can open that file this way:

$handle = fopen("c:\web\test.html", "r");

What is the difference and how can I make the first instruction to
work?

Best regards.

F.

推荐答案

handle = fopen(" http://localhost/test.html" ;," r");


但是页面仍然是 ; loading .. 30秒然后进入

超时。


但是我可以这样打开那个文件:

handle = fopen("http://localhost/test.html", "r");

but tha page remains "loading .." for 30 seconds and then goes in
timeout.

However I can open that file this way:


handle = fopen(" c:\ web\test.html"," r");


有什么区别,怎么可以我做了第一个指示

工作?


祝你好运。


F.
handle = fopen("c:\web\test.html", "r");

What is the difference and how can I make the first instruction to
work?

Best regards.

F.


5月23日,11:35,joker197cinque< joker197cin ... @ gmail.comwrote:
On 23 May, 11:35, joker197cinque <joker197cin...@gmail.comwrote:

我是试图以这种方式打开文件:

I''m trying to fopen a file this way:


这篇关于Fopen问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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