Einzelnen Beitrag anzeigen
  #6  
Alt 21.02.2003, 09:09:58
Greg G Greg G ist offline
Anfänger
 
Registriert seit: Feb 2003
Ort: Hessen
Beiträge: 116
Morgen

Das könnte an den PHP-Einstellungen liegen. Hast du es auf dem Linux-Server schon mal ausprobiert? Du kannst dir einfach mal die geladene google.de/index.html ausgeben lassen.
Das war der erste Test, den ich mal gemacht hatte, und es ging (aber auf dem Server, unter Windows hatte ich es gar nicht probiert, glaub ich).


http://www.php.net/manual/en/function.fopen.php

Cite:
If PHP has decided that filename specifies a registered protocol, and that protocol is registered as a network URL, PHP will check to make sure that allow_url_fopen is enabled. If it is switched off, PHP will emit a warning and the fopen call will fail.
/Cite

Und dann für die Einstellungen der php.ini:

http://www.php.net/manual/en/ref.fil...llow-url-fopen
Cite:
Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Table 1. Filesystem and Streams Configuration Options
Name Default Changeable
allow_url_fopen "1" PHP_INI_ALL
user_agent NULL PHP_INI_ALL
default_socket_timeout "60" PHP_INI_ALL
from NULL ??
auto_detect_line_endings "Off" PHP_INI_ALL

Here is a short explanation of the configuration directives.

allow_url_fopen boolean

This option enables the URL-aware fopen wrappers that enable accessing URL object like files. Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers.

Note: This option was introduced immediately after the release of version 4.0.3. For versions up to and including 4.0.3 you can only disable this feature at compile time by using the configuration switch --disable-url-fopen-wrapper.
/Cite


GG
Mit Zitat antworten