polygame(polygame)兄这是我改的: $content = implode("",file("c:\tt.txt"));出现的问题: Warning: file("c: t.txt") - Invalid argument in c:\apache\htdocs\20.php3 on line 5 Warning: Bad arguments to implode() in c:\apache\htdocs\20.php3 on line 5 could not open file
相对和绝对路径有什么不同???
如果我要读取C;\WW\WW.TXT文件要如何写地址??
$fp = fopen("c:\\ww\\ww.txt", "r");
附:
在一些语言中"\"要换成"\\"(比如C)
$content = implode("",file("c:\www\www.txt"));
URL
$content = implode("",file("http://www.csdn.net"));
$content = implode("",file("c:\tt.txt"));出现的问题:
Warning: file("c: t.txt") - Invalid argument in c:\apache\htdocs\20.php3 on line 5
Warning: Bad arguments to implode() in c:\apache\htdocs\20.php3 on line 5
could not open file