[PHP] Re: file error

2002-05-17 Thread Michael Virnstein
That's what i found about file(): Tip: You can use a URL as filename with this function if the "fopen wrappers" have been enabled. See fopen() for more details. So check your php.ini settings. If you're hosted by a hosting company and they failed to enable the fopen wrappers, you can overwrite t

[PHP] Re: file error

2002-05-17 Thread Michael Virnstein
i do not know if file() can be used with files on remote servers. fopen() can, if this feature is enabled in php.ini. Regards Michael "Roman Duriancik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have this code : > $text = file("http://www.hokej.s